diff options
author | 2019-11-22 11:22:07 +0100 | |
---|---|---|
committer | 2019-11-27 09:31:13 +0100 | |
commit | 47401580449c1de65350bd17324f778c7e937ea1 (patch) | |
tree | 167010ad6f0fe27fc50d6cfe939f5047f64fdefd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rtc: ds1374: remove unused variable (diff) | |
download | linux-dev-47401580449c1de65350bd17324f778c7e937ea1.tar.xz linux-dev-47401580449c1de65350bd17324f778c7e937ea1.zip |
rtc: ds1685: remove set but unused variables
Fix the following warnings:
drivers/rtc/rtc-ds1685.c: In function ‘ds1685_rtc_read_time’:
drivers/rtc/rtc-ds1685.c:264:5: warning: variable ‘ctrlb’ set but not used [-Wunused-but-set-variable]
264 | u8 ctrlb, century;
| ^~~~~
drivers/rtc/rtc-ds1685.c: In function ‘ds1685_rtc_proc’:
drivers/rtc/rtc-ds1685.c:758:19: warning: variable ‘ctrlc’ set but not used [-Wunused-but-set-variable]
758 | u8 ctrla, ctrlb, ctrlc, ctrld, ctrl4a, ctrl4b, ssn[8];
| ^~~~~
Cc: Joshua Kinard <kumba@gentoo.org>
Acked-By: Joshua Kinard <kumba@gentoo.org>
Link: https://lore.kernel.org/r/20191122102212.400158-4-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions