qlcnic: remove set but not used variables 'op, cmd_op'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 17 Dec 2018 09:27:16 +0000 (17:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2018 23:49:46 +0000 (15:49 -0800)
commit8937388acb09d6bf0f263fa8551d3e2b4e84de25
treec5724cf6bf246c98c831ab671dad80f164b2c66f
parent809c67059162e7ba85c61a83ad7547b4ffbb1e6e
qlcnic: remove set but not used variables 'op, cmd_op'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c:1070:5: warning:
 variable 'op' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c:1342:5: warning:
 variable 'cmd_op' set but not used [-Wunused-but-set-variable]

'op' never used since introduction in commit 7cb03b2347d5 ("qlcnic:
Support VF-PF communication channel commands.")
'cmd_op' not used since commit 6226204bcf20 ("qlcnic: Fix operation
type and command type.")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c