From: YueHaibing <yuehaibing@xxxxxxxxxx> 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@xxxxxxxxxx> > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> Applied.