OSDN Git Service

qed: remove redundant assignments to rc
authorColin Ian King <colin.king@canonical.com>
Mon, 9 Dec 2019 13:16:07 +0000 (13:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Dec 2019 22:28:19 +0000 (14:28 -0800)
commite70ac628289766bc2c81a0db161368b69da774fd
tree56e3875cffc1bf055e63e54736dcfbf330305059
parent718eae277e62a26e5862eb72a830b5e0fe37b04a
qed: remove redundant assignments to rc

The variable rc is assigned with a value that is never read and
it is re-assigned a new value later on.  The assignment is redundant
and can be removed.  Clean up multiple occurrances of this pattern.

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_sp_commands.c