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

From: Alexandre Belloni
Date: Mon Mar 23 2020 - 04:28:57 EST


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