YueHaibing <yuehaibing@xxxxxxxxxx> wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/ath/wil6210/main.c: In function '_wil6210_disconnect': > drivers/net/wireless/ath/wil6210/main.c:407:23: warning: > variable 'wdev' set but not used [-Wunused-but-set-variable] > > It never used since commit ("e1b43407c034 wil6210: refactor disconnect flow") > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> > Reviewed-by: Maya Erez <merez@xxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 3fe970e76b37 wil6210: remove set but not used variable 'wdev' -- https://patchwork.kernel.org/patch/10713127/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches