Re: [PATCH] rtc: imxdi: remove unused variable

From: Alexandre Belloni
Date: Fri May 03 2019 - 11:53:36 EST


On 03/05/2019 17:42:17+0200, Anders Roxell wrote:
> This variable is no longer used and the compiler rightly complains that
> it should be removed.
>
> ../drivers/rtc/rtc-imxdi.c: In function âdryice_rtc_set_alarmâ:
> ../drivers/rtc/rtc-imxdi.c:633:16: warning: unused variable ânowâ [-Wunused-variable]
> unsigned long now;
> ^~~
>
> Rework to remove the unused variable.
>
> Fixes: 629d488a3eb6 ("rtc: imxdi: remove unnecessary check")
> Signed-off-by: Anders Roxell <anders.roxell@xxxxxxxxxx>
> ---
> drivers/rtc/rtc-imxdi.c | 1 -
> 1 file changed, 1 deletion(-)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com