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)
commit666eb96d85dcbc93aacc186a037db2e05b92b9f5
tree16c8525e48615d9280e5a329e52f3e1f046bd71a
parent20e100f52730cd0db609e559799c1712b5f27582
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