]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
gpio: bd70528: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Sat, 29 Jun 2019 12:33:06 +0000 (13:33 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 28 Jul 2019 09:59:50 +0000 (11:59 +0200)
commitf8650b8ff6fd96075391e72bb3b6d0a99f27829d
tree8a196751073aa1a101621f5ef1cff9f69e37fed2
parentcbf2be749076c266f51cafc71dc9045bcad9ed05
gpio: bd70528: remove redundant assignment to variable ret

Variable ret is being initialized with a value that is never read
and ret is being re-assigned a little later on. The assignment is
redundant and hence can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20190629123306.12519-1-colin.king@canonical.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bd70528.c