Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rtc-r9701.c: silence compiler warning

Commit 75b6102257874a4ea796af686de2f72cfa0452f9 ("rtc: add support for
Epson RTC-9701JE V4") introduced the warning

drivers/rtc/rtc-r9701.c: In function `r9701_get_datetime':
drivers/rtc/rtc-r9701.c:74: warning: unused variable `time'

Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

S.Çağlar Onur and committed by
Linus Torvalds
9820380a 91a07365

-1
-1
drivers/rtc/rtc-r9701.c
··· 71 71 72 72 static int r9701_get_datetime(struct device *dev, struct rtc_time *dt) 73 73 { 74 - unsigned long time; 75 74 int ret; 76 75 unsigned char buf[] = { RSECCNT, RMINCNT, RHRCNT, 77 76 RDAYCNT, RMONCNT, RYRCNT };