Re: [PATCH] rtc: at91sam9: Remove unnecessary offset variable checks
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2021-07-10 00:42:37
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2021-07-10 00:42:37
On Thu, 8 Jul 2021 14:13:40 +0900, Nobuhiro Iwamatsu wrote:
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.
Applied, thanks!
[1/1] rtc: at91sam9: Remove unnecessary offset variable checks
commit: 37aadf9b2a7ea64a358ea7532d7f477fe6837ef1
Best regards,
--
Alexandre Belloni [off-list ref]