]> git.karo-electronics.de Git - karo-tx-linux.git/commit
below is the warning reported with the gcc (gcc (GCC) 4.7.2 20121109 (Red
authorDevendra Naga <devendra.aaru@gmail.com>
Wed, 20 Mar 2013 04:08:09 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:14 +0000 (15:23 +1100)
commite11ff815a4e981ce58d8785ab08262b1330f1f87
treedf9e18b01c3bff260a55ec61c1987d0d89bd1d84
parentaded3cc660e09a46e7780917d5f9543a6c6f1cdb
below is the warning reported with the gcc (gcc (GCC) 4.7.2 20121109 (Red
Hat 4.7.2-8))

with make W=1

drivers/rtc/rtc-ds1286.c: In function `ds1286_read_alarm':
drivers/rtc/rtc-ds1286.c:273:16: warning: variable `cmd' set but not used [-Wunused-but-set-variable]

fixed by removing the variable

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-ds1286.c