Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]
- Loading branch information