Re: [PATCH -next v2] ath9k: Remove set but not used variable

From: Kalle Valo
Date: Tue Sep 29 2020 - 04:31:02 EST


Li Heng <liheng40@xxxxxxxxxx> wrote:

> This addresses the following gcc warning with "make W=1":
>
> drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h:1331:18: warning:
> ‘ar9580_1p0_pcie_phy_clkreq_enable_L1’ defined but not used [-Wunused-const-variable=]
>
> drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h:1338:18: warning:
> ‘ar9580_1p0_pcie_phy_clkreq_disable_L1’ defined but not used [-Wunused-const-variable=]
>
> drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h:1345:18: warning:
> ‘ar9580_1p0_pcie_phy_pll_on_clkreq’ defined but not used [-Wunused-const-variable=]
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Li Heng <liheng40@xxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

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

e2f1ceb81758 ath9k: Remove set but not used variable

--
https://patchwork.kernel.org/patch/11793845/

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