]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: meson: remove redundant assignment to variable retries
authorColin Ian King <colin.king@canonical.com>
Fri, 22 Nov 2019 22:52:10 +0000 (22:52 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 27 Nov 2019 08:31:13 +0000 (09:31 +0100)
commit60bd22fc90630e19b616a3f329ae3958f0878ac6
treef8242e7d754390524417356dbb64b56f431e2267
parent42397492fb0fe61a77b06f351a382309f8300aa6
rtc: meson: remove redundant assignment to variable retries

The variable retries is being initialized with a value that is never
read and it is being updated later with a new value in a for-loop.
The initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20191122225210.109172-1-colin.king@canonical.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-meson.c