]> 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)
commitcae0585bec4fbf70ab0af6f2fe34b92e8b8c5c89
tree16c8525e48615d9280e5a329e52f3e1f046bd71a
parent9d101cfaa610795a4179add2cd0bc24617cd8135
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