diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-06-07 16:26:15 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-07-31 00:17:48 +0200 |
commit | 2f7f1b780dd60278819d396b67db8c41db6a3b1f (patch) | |
tree | 3712b88971a42cee5f5b93268d87a12ee1fddeca /drivers/rtc/rtc-lpc32xx.c | |
parent | 1a37c34811f6d115063042a17211cd70ab560ddd (diff) |
rtc: max8925: remove redundant check on ret
The check on ret < 0 is redundant as the goto destination is the
next statment. Remove this redudant check and goto.
Detected by CoverityScan, CID#1268785 ("Identical code for different
branches")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-lpc32xx.c')
0 files changed, 0 insertions, 0 deletions