Re: [PATCH] brcmsmac: phytbl_lcn: Eliminate defined but not used 'dot11lcn_gain_tbl_rev1'

From: Kalle Valo
Date: Wed Sep 16 2020 - 01:59:22 EST


Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> This addresses the following gcc warning with "make W=1":
>
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c:108:18:
> warning: ‘dot11lcn_gain_tbl_rev1’ defined but not used
> [-Wunused-const-variable=]
> 108 | static const u32 dot11lcn_gain_tbl_rev1[] = {
> | ^~~~~~~~~~~~~~~~~~~~~~
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

43c1a70bfa04 brcmsmac: phy_lcn: Remove unused variable 'lcnphy_rx_iqcomp_table_rev0'

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

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