diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2018-07-27 17:10:15 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-07-27 17:27:40 +0200 |
commit | 8856541557f3626beec43aa0821b2e0f031f0153 (patch) | |
tree | 3cd67354513f2d3a313d84b7c01564ac6d5b1d15 /Documentation/process | |
parent | c842697c741e9dbf825e07d4c2724685d6464bd0 (diff) | |
download | linux-8856541557f3626beec43aa0821b2e0f031f0153.tar.gz |
rtc: sh: remove unused variable rtc_dev
When building rtc-sh, rtc_dev isn't used in function __sh_rtc_periodic.
drivers/rtc/rtc-sh.c: In function ‘__sh_rtc_periodic’:
drivers/rtc/rtc-sh.c:146:21: warning: unused variable ‘rtc_dev’ [-Wunused-variable]
struct rtc_device *rtc_dev = rtc->rtc_dev;
^~~~~~~
Remove the declaration of rtc_dev to dispose the warning.
Fixes: ec623ff014c4 ("rtc: sh: remove dead code")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'Documentation/process')
0 files changed, 0 insertions, 0 deletions