History

rtc: armada38x: Remove unused variable from armada38x_rtc_set_time()

Remove the 'flags' variable in order to fix the following warning: drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]

Fabio Estevam committed 11 years ago

Commit d80238b1 parent baeca441 file · +1 −1Browse files

Unified · Split

drivers/rtc/rtc-armada38x.c+1−1
@@ -88,7 +88,7 @@ static int armada38x_rtc_set_time(struct device *dev, struct rtc_time *tm) · 87 unmodified lines
8888 {
8989 struct armada38x_rtc *rtc = dev_get_drvdata(dev);
9090 int ret = 0;
91− unsigned long time, flags;
91+ unsigned long time;
9292
9393 ret = rtc_tm_to_time(tm, &time);
9494

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t