]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit677a2afdc03e78e46909240bd84b701b90bfcf81
treeea5e42e2f60dba9584eb008c1e13315c20636502
parent971d02953b257f646a4cf5af600b3d71499e7b55
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