summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-meson-vrtc.c
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>2021-07-08 14:13:40 +0900
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-07-10 02:42:08 +0200
commit37aadf9b2a7ea64a358ea7532d7f477fe6837ef1 (patch)
treeee8c246bc34dda86c413d3f252cf46c4002edcb9 /drivers/rtc/rtc-meson-vrtc.c
parentf2581b1dfa9858e342afa8034b0f64f923bbf233 (diff)
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 <nicolas.ferre@microchip.com> Cc: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210708051340.341345-1-nobuhiro1.iwamatsu@toshiba.co.jp
Diffstat (limited to 'drivers/rtc/rtc-meson-vrtc.c')
0 files changed, 0 insertions, 0 deletions