diff options
| author | Nobuhiro Iwamatsu <[email protected]> | 2021-07-08 05:13:40 +0000 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2021-07-10 00:42:08 +0000 |
| commit | 37aadf9b2a7ea64a358ea7532d7f477fe6837ef1 (patch) | |
| tree | ee8c246bc34dda86c413d3f252cf46c4002edcb9 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | rtc: s5m: Check return value of s5m_check_peding_alarm_interrupt() (diff) | |
| download | kernel-37aadf9b2a7ea64a358ea7532d7f477fe6837ef1.tar.gz kernel-37aadf9b2a7ea64a358ea7532d7f477fe6837ef1.zip | |
rtc: at91sam9: Remove unnecessary offset variable checks
The offset variable is checked by at91_rtc_readalarm(), but this check
is unnecessary because the previous check knew that the value of this
variable was not 0.
This removes that unnecessary offset variable checks.
Cc: Nicolas Ferre <[email protected]>
Cc: Ludovic Desroches <[email protected]>
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions
