[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180912.203356.1125227812671410666.davem@davemloft.net>
Date: Wed, 12 Sep 2018 20:33:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: harish.patil@...ium.com, manish.chopra@...ium.com,
Dept-GELinuxNICDev@...ium.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] qlcnic: Remove set but not used variables
'fw_mbx' and 'hdr_size'
From: YueHaibing <yuehaibing@...wei.com>
Date: Tue, 11 Sep 2018 11:51:29 +0000
> From: Yue Haibing <yuehaibing@...wei.com>
>
> 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 [-Wunused-but-set-variable]
>
> drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c: In function 'qlcnic_sriov_issue_bc_post':
> drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c:939:16: warning:
> variable 'hdr_size' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Yue Haibing <yuehaibing@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists