Re: [PATCH] rtc: fsl-ftm-alarm: remove the useless variable

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

 



On 23/03/2020 15:29:56+0800, Peng Ma wrote:
> Remove the useless variable to fixed the below build warning:
> drivers/rtc/rtc-fsl-ftm-alarm.c: In function 'ftm_rtc_probe':
> drivers/rtc/rtc-fsl-ftm-alarm.c:246:22: warning: unused variable 'np' [-Wunused-variable]
>   struct device_node *np = pdev->dev.of_node;
> 
> Signed-off-by: Peng Ma <peng.ma@xxxxxxx>
> ---
>  drivers/rtc/rtc-fsl-ftm-alarm.c | 1 -
>  1 file changed, 1 deletion(-)
> 

I squashed it in the offending commit.
-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux