Re: [PATCH -next] ath10k: Fix W=1 build warning in htt_rx.c

From: Kalle Valo
Date: Sat Jun 12 2021 - 06:38:42 EST


Yang Yingliang <yangyingliang@xxxxxxxxxx> wrote:

> Fix the following W=1 build warning:
>
> drivers/net/wireless/ath/ath10k/htt_rx.c:1790:7: warning: variable ‘more_frags’ set but not used [-Wunused-but-set-variable]
> 1790 | bool more_frags;
> | ^~~~~~~~~~
>
> Fixes: a1166b2653db ("ath10k: add CCMP PN replay protection for fragmented frames for PCIe")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

e0a6120f6816 ath10k: remove unused more_frags variable

--
https://patchwork.kernel.org/project/linux-wireless/patch/20210526142219.2542528-1-yangyingliang@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches