mirror_ubuntu-kernels/drivers/net/ethernet/qlogic/qlcnic
YueHaibing 8937388acb 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 7cb03b2347 ("qlcnic:
Support VF-PF communication channel commands.")
'cmd_op' not used since commit 6226204bcf ("qlcnic: Fix operation
type and command type.")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-18 15:49:46 -08:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qlcnic_83xx_hw.c pci-v4.20-changes 2018-10-25 06:50:48 -07:00
qlcnic_83xx_hw.h qlcnic: fix Tx descriptor corruption on 82xx devices 2018-09-29 11:46:07 -07:00
qlcnic_83xx_init.c qlcnic: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:31 -07:00
qlcnic_83xx_vnic.c
qlcnic_ctx.c qlcnic: Fix a memory leak in error handling path 2017-02-20 10:33:38 -05:00
qlcnic_dcb.c qlcnic: fix a return in qlcnic_dcb_get_capability() 2018-10-22 19:34:16 -07:00
qlcnic_dcb.h net: qlcnic: avoid superfluous assignement 2016-08-01 13:47:00 -07:00
qlcnic_ethtool.c qlcnic: Mark expected switch fall-througs 2018-08-07 17:54:20 -07:00
qlcnic_hdr.h
qlcnic_hw.c ethernet/qlogic: remove unused array msi_tgt_status 2018-08-09 14:16:51 -07:00
qlcnic_hw.h qlcnic: fix Tx descriptor corruption on 82xx devices 2018-09-29 11:46:07 -07:00
qlcnic_init.c qlcnic: remove redundant zero check on retries counter 2017-09-01 10:33:55 -07:00
qlcnic_io.c qlcnic: remove assumption that vlan_tci != 0 2018-11-07 22:37:55 -08:00
qlcnic_main.c qlcnic: remove set but not used variables 'cur_rings, max_hw_rings, tx_desc_info' 2018-11-28 11:09:11 -08:00
qlcnic_minidump.c qlcnic: remove unnecessary static in qlcnic_dump_fw() 2017-07-19 16:33:57 -07:00
qlcnic_sriov_common.c qlcnic: Remove set but not used variables 'fw_mbx' and 'hdr_size' 2018-09-12 20:33:11 -07:00
qlcnic_sriov_pf.c qlcnic: remove set but not used variables 'op, cmd_op' 2018-12-18 15:49:46 -08:00
qlcnic_sriov.h net: Update API for VF vlan protocol 802.1ad support 2016-09-24 08:01:26 -04:00
qlcnic_sysfs.c qlogic: check kstrtoul() for errors 2018-07-13 18:28:58 -07:00
qlcnic.h qlcnic: fix Tx descriptor corruption on 82xx devices 2018-09-29 11:46:07 -07:00