Silent compiler warning introduced by commit 75b6102257874a4ea796af686de2f72cfa0452f9 (rtc: add support for Epson RTC-9701JE V4)
PATCH 1/1 Silent compiler warning introduced by commit 75b6102257874a4ea796af686de2f72cfa0452f9 (rtc: add support for Epson RTC-9701JE V4)
Hi;
Following patch silents
drivers/rtc/rtc-r9701.c: In function `r9701_get_datetime':drivers/rtc/rtc-r9701.c:74: warning: unused variable `time'
compiler warning introduced by commit 75b6102257874a4ea796af686de2f72cfa0452f9 (rtc: add support for Epson RTC-9701JE V4)
Signed-off-by S.Çağlar Onur <[email protected]>
drivers/rtc/rtc-r9701.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/rtc/rtc-r9701.c +0 -1
@@ -71,7 +71,6 @@ static int read_regs(struct device *dev, unsigned char *regs, int no_regs)static int r9701_get_datetime (struct device *dev,struct rtc_time *dt) { -unsigned long time;int ret;unsigned char buf[] = {RSECCNT ,RMINCNT ,RHRCNT ,RDAYCNT ,RMONCNT ,RYRCNT };
Cheers
Signature · 4 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!