[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181220164701.CED3C607F1@smtp.codeaurora.org>
Date: Thu, 20 Dec 2018 16:47:01 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: YueHaibing <yuehaibing@...wei.com>, <ath10k@...ts.infradead.org>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH] ath10k: remove set but not used variable 'num_tdls_vifs'
YueHaibing <yuehaibing@...wei.com> wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_sta_state':
> drivers/net/wireless/ath/ath10k/mac.c:6238:7: warning:
> variable 'num_tdls_vifs' set but not used [-Wunused-but-set-variable]
>
> 'num_tdls_vifs' not used any more after
> 9a993cc1ea95 ("ath10k: fix the logic of limiting tdls peer counts")
>
> Also, remove the single called function ath10k_mac_tdls_vifs_count
> and ath10k_mac_tdls_vifs_count_iter.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
bff70e5f78e9 ath10k: remove set but not used variable 'num_tdls_vifs'
--
https://patchwork.kernel.org/patch/10673841/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists