[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190219150944.1C579608C6@smtp.codeaurora.org>
Date: Tue, 19 Feb 2019 15:09:44 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Amitkumar Karwar <amitkarwar@...il.com>,
Siva Rebbagondla <siva8118@...il.com>,
YueHaibing <yuehaibing@...wei.com>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH] rsi: remove set but not used variables 'info, vif'
YueHaibing <yuehaibing@...wei.com> wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/rsi/rsi_91x_main.c: In function 'rsi_prepare_skb':
> drivers/net/wireless/rsi/rsi_91x_main.c:127:24: warning:
> variable 'vif' set but not used [-Wunused-but-set-variable]
>
> drivers/net/wireless/rsi/rsi_91x_main.c:124:28: warning:
> variable 'info' set but not used [-Wunused-but-set-variable]
>
> They're not used any more since 160ee2a11ce0 ("rsi: fill rx_params only once.")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Patch applied to wireless-drivers-next.git, thanks.
6f6e4f98ee52 rsi: remove set but not used variables 'info, vif'
--
https://patchwork.kernel.org/patch/10817423/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists