rtc: v3020: remove set but unused variable
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 22 Nov 2019 10:22:12 +0000 (11:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 27 Nov 2019 08:31:13 +0000 (09:31 +0100)
commit42397492fb0fe61a77b06f351a382309f8300aa6
tree2ef618023b20626a68341079d430888faa26a22b
parent8321c2ecb2e879aada3e363bbdcbfa0f819803c7
rtc: v3020: remove set but unused variable

Fix the following warning:
drivers/rtc/rtc-v3020.c: In function ‘rtc_probe’:
drivers/rtc/rtc-v3020.c:287:6: warning: variable ‘temp’ set but not used [-Wunused-but-set-variable]

Link: https://lore.kernel.org/r/20191122102212.400158-9-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-v3020.c