rtc: v3020: remove redundant initialization of variable retval
authorColin Ian King <colin.king@canonical.com>
Wed, 9 Jun 2021 12:00:50 +0000 (13:00 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 20 Jun 2021 20:29:50 +0000 (22:29 +0200)
commitfc3c335226a92f69aa01061e66b60ace88475dd3
treed732a6b0d3abc1f3ae399a04fba5b3010ff6dd48
parent950ac33dbe6ff656a623d862022f0762ec061ba7
rtc: v3020: remove redundant initialization of variable retval

The variable retval is being initialized with a value that is never read,
it is being updated later on. The assignment is redundant and can be
removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210609120050.185746-1-colin.king@canonical.com
drivers/rtc/rtc-v3020.c