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

Kalle Valo kvalo at codeaurora.org
Sat Jun 12 03:38:35 PDT 2021


Yang Yingliang <yangyingliang at huawei.com> 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 at huawei.com>
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>

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@huawei.com/

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




More information about the ath10k mailing list