]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Remove redundant initialization of variable ret
authorColin Ian King <colin.king@canonical.com>
Fri, 10 Sep 2021 11:15:11 +0000 (12:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2021 13:42:31 +0000 (14:42 +0100)
commit77ef0590f6907eccd339fbeb7064cf25ed6a12e2
tree16c8525e48615d9280e5a329e52f3e1f046bd71a
parent690ecd40fe80f9806d156f1fd12817b5487a3fc8
qlcnic: Remove redundant initialization of variable ret

The variable ret is being initialized with a value that is never read, it
is being updated later on. The assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c