]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab64a7cfa6ad08a7d3f32473b11739206f7cfc4a
tree56e3875cffc1bf055e63e54736dcfbf330305059
parenta414d9649ef9b7e87f23d68150c817d4ad97abe2
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