OSDN Git Service

net: qed: remove redundant initialization of variable rc
authorColin Ian King <colin.king@canonical.com>
Thu, 13 May 2021 11:49:10 +0000 (12:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2021 22:52:22 +0000 (15:52 -0700)
commit5efe2575316f97aa6d004fc0534e48ea85acdff3
treedd75887a9019a71a622a90d69e379ddead1df20f
parent25e248a2bc43fe4a7a9815addf1f46d26c0d2442
net: qed: remove redundant initialization of variable rc

The variable rc 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/qed/qed_iscsi.c