* [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
* Re: [PATCH] clocksource: kvx: remove unused variable np.
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
1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2020-05-17 11:46 UTC (permalink / raw)
To: Clement Leger; +Cc: Barebox List
On Sat, May 16, 2020 at 12:40 AM Clement Leger <cleger@kalray.eu> wrote:
No period at the end of the patch subject, please.
(Maybe, Sascha can fix it up, though)
> 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
--
Best Regards
Masahiro Yamada
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] clocksource: kvx: remove unused variable np.
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
1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2020-05-18 6:21 UTC (permalink / raw)
To: Clement Leger; +Cc: barebox
On Fri, May 15, 2020 at 05:39:47PM +0200, Clement Leger wrote:
> 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(-)
Applied with the period from the subject removed, thanks
Sascha
>
> 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
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
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