[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190806123521.F14306038E@smtp.codeaurora.org>
Date: Tue, 6 Aug 2019 12:35:21 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <arend.vanspriel@...adcom.com>, <franky.lin@...adcom.com>,
<hante.meuleman@...adcom.com>, <chi-hsien.lin@...ress.com>,
<wright.feng@...ress.com>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>, <linux-wireless@...r.kernel.org>,
<brcm80211-dev-list.pdl@...adcom.com>,
<brcm80211-dev-list@...ress.com>,
YueHaibing <yuehaibing@...wei.com>
Subject: Re: [PATCH] brcmfmac: remove set but not used variable 'dtim_period'
YueHaibing <yuehaibing@...wei.com> wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function brcmf_update_bss_info:
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:2962:5: warning: variable dtim_period set but not used [-Wunused-but-set-variable]
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function brcmf_update_bss_info:
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:2961:6: warning: variable beacon_interval set but not used [-Wunused-but-set-variable]
>
> They are never used so can be removed.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Patch applied to wireless-drivers-next.git, thanks.
cddecd92d1ec brcmfmac: remove set but not used variable 'dtim_period'
--
https://patchwork.kernel.org/patch/11056999/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists