rtc: ds1672: remove unnecessary check
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 18 Aug 2019 21:52:32 +0000 (23:52 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Aug 2019 07:57:23 +0000 (09:57 +0200)
commit80ba93639b5dfde6b7897499b69fefc733a94a59
treeea5e42e2f60dba9584eb008c1e13315c20636502
parent44c638ce4ec6fb9d33978348ebb90847b9aa274a
rtc: ds1672: remove unnecessary check

The rtc pointer is already checked earlier, it is not necessary to check it
again.

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