diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-04-16 21:46:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 15:04:02 +0200 |
commit | 492da68c8c3babc573208e057a9011d9489f2b5a (patch) | |
tree | 2bfdc39cfbf24081b10b0227b157b62d98700fc8 /kernel | |
parent | drivers/rtc/rtc-omap.c: use module_platform_driver (diff) | |
download | linux-492da68c8c3babc573208e057a9011d9489f2b5a.tar.xz linux-492da68c8c3babc573208e057a9011d9489f2b5a.zip |
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 <k.kozlowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions