Re: [PATCH] clocksource: kvx: remove unused variable np.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux