[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191115122427.E453960E0D@smtp.codeaurora.org>
Date: Fri, 15 Nov 2019 12:24:27 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Zheng Yongjun <zhengyongjun3@...wei.com>
Cc: <Jes.Sorensen@...il.com>, <davem@...emloft.net>,
<linux-wireless@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<zhengyongjun3@...wei.com>, Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH] rtl8xxxu: Remove set but not used variable 'rsr'
Zheng Yongjun <zhengyongjun3@...wei.com> wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c: In function rtl8xxxu_gen2_config_channel:
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:1266:13: warning: variable rsr set but not used [-Wunused-but-set-variable]
>
> rsr is never used, so remove it.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
> Reviewed-by: Chris Chiu <chiu@...lessm.com>
Patch applied to wireless-drivers-next.git, thanks.
38860bdf28b7 rtl8xxxu: Remove set but not used variable 'rsr'
--
https://patchwork.kernel.org/patch/11236191/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists