diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2015-05-14 18:16:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-14 20:55:51 -0400 |
commit | f98b733e93e00365b4df78fbb33c2cad3080f6bb (patch) | |
tree | 1754341ba963da9fccde24679a3ad67a64bd005b /drivers/rtc | |
parent | 110bc76729d448fdbcb5cdb63b83d9fd65ce5e26 (diff) |
drivers/rtc/rtc-armada38x.c: remove unused local `flags'
Reported-by: Fengguang Wu <fengguang.wu@gmail.com>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-armada38x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-armada38x.c b/drivers/rtc/rtc-armada38x.c index cb70ced7e0db..4b62d1a875e4 100644 --- a/drivers/rtc/rtc-armada38x.c +++ b/drivers/rtc/rtc-armada38x.c | |||
@@ -64,7 +64,7 @@ static void rtc_delayed_write(u32 val, struct armada38x_rtc *rtc, int offset) | |||
64 | static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm) | 64 | static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm) |
65 | { | 65 | { |
66 | struct armada38x_rtc *rtc = dev_get_drvdata(dev); | 66 | struct armada38x_rtc *rtc = dev_get_drvdata(dev); |
67 | unsigned long time, time_check, flags; | 67 | unsigned long time, time_check; |
68 | 68 | ||
69 | mutex_lock(&rtc->mutex_time); | 69 | mutex_lock(&rtc->mutex_time); |
70 | time = readl(rtc->regs + RTC_TIME); | 70 | time = readl(rtc->regs + RTC_TIME); |