diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2019-07-08 10:26:47 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-07-13 21:39:12 +0200 |
commit | fe63604c630acfc51797d5896ff01cd59c684572 (patch) | |
tree | 652b36ee2693c9787470f35469a7b15540a1c692 /drivers/rtc/rtc-m41t80.c | |
parent | rtc: pcf2123: Fix build error (diff) | |
download | linux-fe63604c630acfc51797d5896ff01cd59c684572.tar.xz linux-fe63604c630acfc51797d5896ff01cd59c684572.zip |
rtc: stm32: remove one condition check in stm32_rtc_set_alarm()
A condition check was repeated in this function implementation despite of
a corresponding check in the stm32_rtc_alarm_irq_enable() function.
Thus delete redundant source code here.
This issue was detected by using the Coccinelle software.
Suggested-by: Russell King <linux@armlinux.org.uk>
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Amelie Delaunay <amelie.delaunay@st.com>
Link: https://lore.kernel.org/r/4da614a4-83c6-548c-a112-033b846c561b@web.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-m41t80.c')
0 files changed, 0 insertions, 0 deletions