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