From: Andrew Morton Date: Thu, 14 May 2015 22:16:50 +0000 (-0700) Subject: drivers/rtc/rtc-armada38x.c: remove unused local `flags' X-Git-Tag: v4.14-rc1~5397^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f98b733e93e00365b4df78fbb33c2cad3080f6bb;p=platform%2Fkernel%2Flinux-rpi.git drivers/rtc/rtc-armada38x.c: remove unused local `flags' Reported-by: Fengguang Wu Cc: Gregory CLEMENT Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/rtc-armada38x.c b/drivers/rtc/rtc-armada38x.c index cb70ced..4b62d1a 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) static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm) { struct armada38x_rtc *rtc = dev_get_drvdata(dev); - unsigned long time, time_check, flags; + unsigned long time, time_check; mutex_lock(&rtc->mutex_time); time = readl(rtc->regs + RTC_TIME);