rtc: jz4740: remove useless check
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 30 Apr 2019 09:28:17 +0000 (11:28 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 30 Apr 2019 09:50:17 +0000 (11:50 +0200)
commitd10dcc95fa6591280d45418c9f96997e7888575f
tree05eda431e50c20c9a6f1a081b51e4011a489332e
parentbe8dce96f3f5b680ffffa915b0d906298b6fec7a
rtc: jz4740: remove useless check

rtc_time64_to_tm always returns a valid tm, it is not necessary to validate
it.

Tested-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-jz4740.c