diff options
author | S.Çağlar Onur <caglar@pardus.org.tr> | 2008-02-09 22:10:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-10 02:27:01 -0500 |
commit | 9820380a387b1135eace699270e795e3f51fc5dd (patch) | |
tree | 651c076ade217d34a640f40ca1422e87581dafc8 /drivers/rtc/rtc-r9701.c | |
parent | 91a0736531c3c8a6ce49ac2a0dec0c83125936e1 (diff) |
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>
Diffstat (limited to 'drivers/rtc/rtc-r9701.c')
-rw-r--r-- | drivers/rtc/rtc-r9701.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-r9701.c b/drivers/rtc/rtc-r9701.c index a64626a82d0b..b35f9bfa2af4 100644 --- a/drivers/rtc/rtc-r9701.c +++ b/drivers/rtc/rtc-r9701.c | |||
@@ -71,7 +71,6 @@ static int read_regs(struct device *dev, unsigned char *regs, int no_regs) | |||
71 | 71 | ||
72 | static int r9701_get_datetime(struct device *dev, struct rtc_time *dt) | 72 | static int r9701_get_datetime(struct device *dev, struct rtc_time *dt) |
73 | { | 73 | { |
74 | unsigned long time; | ||
75 | int ret; | 74 | int ret; |
76 | unsigned char buf[] = { RSECCNT, RMINCNT, RHRCNT, | 75 | unsigned char buf[] = { RSECCNT, RMINCNT, RHRCNT, |
77 | RDAYCNT, RMONCNT, RYRCNT }; | 76 | RDAYCNT, RMONCNT, RYRCNT }; |