]> git.baikalelectronics.ru Git - kernel.git/commit
qed: remove redundant assignment to rc
authorColin Ian King <colin.king@canonical.com>
Fri, 31 May 2019 13:27:38 +0000 (14:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 00:51:03 +0000 (17:51 -0700)
commitb9f88982750d5c28b3c55ab8b802ecfa62a0bbd2
treeaa8712d51e7434be6c61ee05f35ecc410a0e0c0e
parent8a7e8ff8ce8ae7d34ed979f41b572bfe7cab421c
qed: remove redundant assignment 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.

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