Re: [PATCH net-next] qlcnic: Remove set but not used variables 'fw_mbx' and 'hdr_size'

2018-09-12 Thread David Miller
From: YueHaibing Date: Tue, 11 Sep 2018 11:51:29 + > From: Yue Haibing > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c: In function > 'qlcnic_sriov_pull_bc_msg': >

[PATCH net-next] qlcnic: Remove set but not used variables 'fw_mbx' and 'hdr_size'

2018-09-11 Thread YueHaibing
From: Yue Haibing Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c: In function 'qlcnic_sriov_pull_bc_msg': drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c:907:6: warning: variable 'fw_mbx' set but not used