qed: remove redundant assignment to variable 'rc'
authorColin Ian King <colin.king@canonical.com>
Sun, 5 Apr 2020 13:49:14 +0000 (14:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Apr 2020 17:22:09 +0000 (10:22 -0700)
commit7df0a6a3e53dafa0e36127cb09306a19b03bd182
treef2f60debbd5babaf436426e57c83499b0854a151
parent2dd6a24fff41fe8fbf307491ed637a18049b13ff
qed: remove redundant assignment to variable 'rc'

The variable 'rc' is being assigned a value that is never read
and it is being updated later with a new value. 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/qed/qed_l2.c