commit | 2f7f1b780dd60278819d396b67db8c41db6a3b1f | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Jun 07 16:26:15 2017 +0100 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Mon Jul 31 00:17:48 2017 +0200 |
tree | 3712b88971a42cee5f5b93268d87a12ee1fddeca | |
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>