Messages in this thread | | | Date | Fri, 10 Jan 2020 23:15:55 -0800 (PST) | Subject | Re: [PATCH net-next] sfc: remove set but not used variable 'nic_data' | From | David Miller <> |
| |
From: YueHaibing <yuehaibing@huawei.com> Date: Fri, 10 Jan 2020 06:09:08 +0000
> Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/ethernet/sfc/mcdi_functions.c: In function 'efx_mcdi_ev_init': > drivers/net/ethernet/sfc/mcdi_functions.c:79:28: warning: > variable 'nic_data' set but not used [-Wunused-but-set-variable] > > commit 4438b587fe4b ("sfc: move MCDI event queue management code") > introduces this unused variable. > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied.
| |