drivers/rtc: Remove redundant rtc_valid_tm() from rtc_resume()
authorXunlei Pang <pang.xunlei@linaro.org>
Thu, 2 Apr 2015 03:34:36 +0000 (20:34 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:18:32 +0000 (08:18 +0200)
commit814dcf8ead04f5ebcec74af06c705b207887f0fa
treeb75865385aa9934bc466c40df7855a4c8f3ddd03
parent7f2981393af31a854879f2496cab4c978e886902
drivers/rtc: Remove redundant rtc_valid_tm() from rtc_resume()

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

Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-17-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/rtc/class.c