]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: Remove redundant rtc_valid_tm() from rtc_hctosys()
authorXunlei Pang <pang.xunlei@linaro.org>
Thu, 22 Jan 2015 02:31:54 +0000 (02:31 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Sat, 24 Jan 2015 01:21:57 +0000 (17:21 -0800)
commit966301a23ef8ff0a4c5f71b585dafbf334808574
treeb751c6f7df65a70adc74ee19bfa65fa012a5b18e
parenta6d6e1c879efa4b77e250c34fe5fe1c34e6ef070
rtc: Remove redundant rtc_valid_tm() from rtc_hctosys()

rtc_read_time() has already judged valid tm by rtc_valid_tm(),
so just remove it.

Cc: pang.xunlei <pang.xunlei@linaro.org>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/rtc/hctosys.c