Re: [PATCH -next] rtc: mrst: remove set but not used variable 'valid'

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

 



On 31/08/2018 02:15:39+0000, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/rtc/rtc-mrst.c: In function 'mrst_procfs':
> drivers/rtc/rtc-mrst.c:264:29: warning:
>  variable 'valid' set but not used [-Wunused-but-set-variable]
>   unsigned char rtc_control, valid;
> 
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
>  drivers/rtc/rtc-mrst.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
Applied, thanks.

-- 
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