[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180904081725.9B421603D2@smtp.codeaurora.org>
Date: Tue, 4 Sep 2018 08:17:25 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Pavani Muthyala <pavani.muthyala@...pinesignals.com>,
Kees Cook <keescook@...omium.org>,
Colin Ian King <colin.king@...onical.com>,
Amitkumar Karwar <amit.karwar@...pinesignals.com>,
Prameela Rani Garnepudi <prameela.j04cs@...il.com>,
Siva Rebbagondla <siva.rebbagondla@...pinesignals.com>,
Sushant Kumar Mishra <sushant.mishra@...pinesignals.com>,
YueHaibing <yuehaibing@...wei.com>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH v4] rsi: remove set but not used variables 'header_size'
and 'tx_params'
YueHaibing <yuehaibing@...wei.com> wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/rsi/rsi_91x_hal.c: In function 'rsi_send_data_pkt':
> drivers/net/wireless/rsi/rsi_91x_hal.c:288:5: warning:
> variable 'header_size' set but not used [-Wunused-but-set-variable]
>
> 'tx_params' only used for 'header_size' dereferenced,so also
> can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Patch applied to wireless-drivers-next.git, thanks.
ec7eccf7ad1c rsi: remove set but not used variables 'header_size' and 'tx_params'
--
https://patchwork.kernel.org/patch/10584631/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists