OSDN Git Service

rtc: tx4939: remove useless test
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 3 Mar 2019 21:54:49 +0000 (22:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 3 Mar 2019 21:54:49 +0000 (22:54 +0100)
commit72d381974403018562ca7fa0fbc34d07202e7e1c
treea150044e00a86669db6e4e0542207ba6ecd65fe8
parent3199fc3d7417282f60387086d26c60d3b32bc4dc
rtc: tx4939: remove useless test

The tested condition will never happen as the core always passes a fully
set struct tm (using rtc_ktime_to_tm) to the .set_alarm callback.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-tx4939.c