]> git.baikalelectronics.ru Git - kernel.git/commit
net: usb: ax88179_178a: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Sat, 9 May 2020 21:41:11 +0000 (22:41 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 10 May 2020 18:12:55 +0000 (11:12 -0700)
commitc33bf25aed53a88287404d18e7b3e533eccc3f44
tree857de5f2a1bb25902222553aa12b8f8287188e02
parent261550c3093175de8c487652a5519c3cfbcee4b6
net: usb: ax88179_178a: remove redundant assignment to variable ret

The variable ret is being initializeed with a value that is never read
and it is being updated later with a new value. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/ax88179_178a.c