YueHaibing <yuehaibing@xxxxxxxxxx> wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/quantenna/qtnfmac/cfg80211.c: In function 'qtnf_dump_survey': > drivers/net/wireless/quantenna/qtnfmac/cfg80211.c:694:19: warning: > variable 'vif' set but not used [-Wunused-but-set-variable] > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> > Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@xxxxxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 93ed990e3a6e qtnfmac: remove set but not used variable 'vif' -- https://patchwork.kernel.org/patch/10595609/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches