mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] clocksource: kvx: remove unused variable np.
@ 2020-05-15 15:39 Clement Leger
  2020-05-17 11:46 ` Masahiro Yamada
  2020-05-18  6:21 ` Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Clement Leger @ 2020-05-15 15:39 UTC (permalink / raw)
  To: Sascha Hauer, barebox; +Cc: Clement Leger

Remove unused variable np from probe function.

Signed-off-by: Clement Leger <cleger@kalray.eu>
---
 drivers/clocksource/kvx_timer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/clocksource/kvx_timer.c b/drivers/clocksource/kvx_timer.c
index f16d77b9d..4125ddbee 100644
--- a/drivers/clocksource/kvx_timer.c
+++ b/drivers/clocksource/kvx_timer.c
@@ -27,7 +27,6 @@ static int kvx_timer_probe(struct device_d *dev)
 {
 	struct clk *clk;
 	uint32_t clk_freq;
-	struct device_node *np = dev->device_node;
 
 	/* Get clock frequency */
 	clk = clk_get(dev, NULL);
-- 
2.17.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-18  6:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15 15:39 [PATCH] clocksource: kvx: remove unused variable np Clement Leger
2020-05-17 11:46 ` Masahiro Yamada
2020-05-18  6:21 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox