diff options
| author | Devendra Naga <[email protected]> | 2012-07-30 14:41:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-07-30 17:25:18 -0700 |
| commit | aa11ec593e2c68d57728d2ebb2da265468e410c9 (patch) | |
| tree | 5b942d8387160012a11e4f8641a6667d84dd0bd4 /include/linux/debugobjects.h | |
| parent | 064407f1c0d54ad215927b4c14b3f4e68fa486f4 (diff) | |
drivers/rtc/rtc-r9701.c: avoid second call to rtc_valid_tm()
r9701_get_datetime() calls rtc_valid_tm() and returns the value returned
by rtc_valid_tm(), which can be used in the `if', so calling
rtc_valid_tm() a second time is not required.
Signed-off-by: Devendra Naga <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Cc: Andreas Dumberger <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions