leds: flash: Remove redundant initialization of variable ret
authorPavel Machek <pavel@ucw.cz>
Mon, 16 Aug 2021 06:47:08 +0000 (08:47 +0200)
committerPavel Machek <pavel@ucw.cz>
Mon, 16 Aug 2021 06:47:08 +0000 (08:47 +0200)
commit654933ae7d32f278eecd0bb0f175785574ac4775
tree9d1c717260fbead8a2c61a6a02bb5e162c191321
parent9cbc861095375793a69858f91f3ac4e817f320f0
leds: flash: Remove redundant initialization of variable ret

Adjust initialization not to trigger Coverity warnings.

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/led-class-flash.c