drivers/rtc/rtc-s3c.c: remove one superfluous rtc_valid_tm() check
authorKrzysztof Kozlowski <[email protected]>
Thu, 16 Apr 2015 19:46:08 +0000 (12:46 -0700)
committerLinus Torvalds <[email protected]>
Fri, 17 Apr 2015 13:04:02 +0000 (09:04 -0400)
commit492da68c8c3babc573208e057a9011d9489f2b5a
tree2bfdc39cfbf24081b10b0227b157b62d98700fc8
parent5d9094b6c7fc87d1909143540c1e2fddde9129b3
drivers/rtc/rtc-s3c.c: remove one superfluous rtc_valid_tm() check

s3c_rtc_gettime() already returns the result of rtc_valid_tm() on the
obtained time so get rid of another call to rtc_valid_tm().

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Chanwoo Choi <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-s3c.c