From: Kalle Valo <kvalo@codeaurora.org>
To: YueHaibing <yuehaibing@huawei.com>
Cc: Pavani Muthyala <pavani.muthyala@redpinesignals.com>,
Kees Cook <keescook@chromium.org>,
Colin Ian King <colin.king@canonical.com>,
Amitkumar Karwar <amit.karwar@redpinesignals.com>,
Prameela Rani Garnepudi <prameela.j04cs@gmail.com>,
Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>,
Sushant Kumar Mishra <sushant.mishra@redpinesignals.com>,
YueHaibing <yuehaibing@huawei.com>,
<linux-wireless@vger.kernel.org>, <netdev@vger.kernel.org>,
<kernel-janitors@vger.kernel.org>
Subject: Re: [PATCH v4] rsi: remove set but not used variables 'header_size' and 'tx_params'
Date: Tue, 4 Sep 2018 08:17:25 +0000 (UTC) [thread overview]
Message-ID: <20180904081725.9B421603D2@smtp.codeaurora.org> (raw)
In-Reply-To: <1535788107-171830-1-git-send-email-yuehaibing@huawei.com>
YueHaibing <yuehaibing@huawei.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@huawei.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
prev parent reply other threads:[~2018-09-04 12:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-31 9:27 [PATCH] rsi: remove set but not used variable 'header_size' YueHaibing
2018-08-31 11:07 ` YueHaibing
[not found] ` <1535786170-169698-1-git-send-email-yuehaibing@huawei.com>
[not found] ` <1535786170-169698-1-git-send-email-yuehaibing-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2018-09-01 7:21 ` [PATCH v3] rsi: remove set but not used variables 'header_size' and 'tx_params' YueHaibing
2018-09-01 7:48 ` [PATCH v4] " YueHaibing
2018-09-04 8:17 ` Kalle Valo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180904081725.9B421603D2@smtp.codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=amit.karwar@redpinesignals.com \
--cc=colin.king@canonical.com \
--cc=keescook@chromium.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pavani.muthyala@redpinesignals.com \
--cc=prameela.j04cs@gmail.com \
--cc=siva.rebbagondla@redpinesignals.com \
--cc=sushant.mishra@redpinesignals.com \
--cc=yuehaibing@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).