YueHaibing <yuehaibing@xxxxxxxxxx> wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/ath/ath10k/snoc.c: In function 'ath10k_snoc_tx_pipe_cleanup': > drivers/net/wireless/ath/ath10k/snoc.c:681:22: warning: > variable 'ar_snoc' set but not used [-Wunused-but-set-variable] > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> > Reviewed-by: Brian Norris <briannorris@xxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. f9a4b7f45ff5 ath10k: snoc: remove set but not used variable 'ar_snoc' -- https://patchwork.kernel.org/patch/10787609/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches