]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9778946dd91687ab624f727efa4b179b63705057
treef2f60debbd5babaf436426e57c83499b0854a151
parentb142ad7b90a6fa0e4c1d37ef248028cfd3a1a39a
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