rtc: ds1374: remove unused variable
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 22 Nov 2019 10:22:06 +0000 (11:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 27 Nov 2019 08:31:13 +0000 (09:31 +0100)
commit75859ab1e7907d0515e515b956cd062b0fa6718c
tree3d296acf89c2f9585e0c50ebdee0bf2f51502390
parent6f6931928f257e6bf073515d8c90cf10be0ee7b6
rtc: ds1374: remove unused variable

Fix warning:

drivers/rtc/rtc-ds1374.c: In function ‘ds1374_wdt_disable’:
drivers/rtc/rtc-ds1374.c:442:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]

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