Skip to content

Commit

Permalink
drivers/rtc/rtc-armada38x.c: remove unused local `flags'
Browse files Browse the repository at this point in the history
Reported-by: Fengguang Wu <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and torvalds committed May 15, 2015
1 parent 110bc76 commit f98b733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-armada38x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f98b733

Please sign in to comment.