diff options
-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 }; |