From: Devendra Naga Date: Mon, 29 Apr 2013 23:19:20 +0000 (-0700) Subject: drivers/rtc/rtc-ds1286.c: fix compiler warning while doing make W=1 X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~123^2~147 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb72f60c17aea5f0bdd546420ebb16075d965f92;p=pandora-kernel.git drivers/rtc/rtc-ds1286.c: fix compiler warning while doing make W=1 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 Cc: Thomas Bogendoerfer Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed