Commit f98b733e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

drivers/rtc/rtc-armada38x.c: remove unused local `flags'

Reported-by: default avatarFengguang Wu <fengguang.wu@gmail.com>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 110bc767
...@@ -64,7 +64,7 @@ static void rtc_delayed_write(u32 val, struct armada38x_rtc *rtc, int offset) ...@@ -64,7 +64,7 @@ static void rtc_delayed_write(u32 val, struct armada38x_rtc *rtc, int offset)
static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm) static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm)
{ {
struct armada38x_rtc *rtc = dev_get_drvdata(dev); struct armada38x_rtc *rtc = dev_get_drvdata(dev);
unsigned long time, time_check, flags; unsigned long time, time_check;
mutex_lock(&rtc->mutex_time); mutex_lock(&rtc->mutex_time);
time = readl(rtc->regs + RTC_TIME); time = readl(rtc->regs + RTC_TIME);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment