OSDN Git Service

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)
commitd728e6402c0023a46b8595e1736695517fd94a7a
tree857de5f2a1bb25902222553aa12b8f8287188e02
parent4f6cd04f2ded199931c44b3c95c4938618cd8b82
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