]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
qlcnic: remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Wed, 3 Jul 2019 08:32:14 +0000 (09:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jul 2019 18:33:55 +0000 (11:33 -0700)
commit2559d7c4dd0eb17e6454fc7f52f9c5ea63a272df
treefab6565a5c6da797d6ff6f2bd42f5215ec5486ab
parentb70d846cf446f71eda352be46a94e330e3255406
qlcnic: remove redundant assignment to variable err

The variable err is being initialized with a value that is never
read and it is being updated later with a new value. The
initialization 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/qlcnic/qlcnic_sriov_pf.c