From: Kalle Valo <kvalo@codeaurora.org>
To: YueHaibing <yuehaibing@huawei.com>
Cc: <linux-wireless@vger.kernel.org>, <netdev@vger.kernel.org>,
<kernel-janitors@vger.kernel.org>
Subject: Re: [PATCH] mac80211-next: remove set but not used variable 'w_priv'
Date: Wed, 16 Jan 2019 18:09:44 +0200 [thread overview]
Message-ID: <87r2dc4m9j.fsf@codeaurora.org> (raw)
In-Reply-To: <65a8caf2-98c0-cf43-f63b-d89ed556111f@huawei.com> (yuehaibing@huawei.com's message of "Wed, 16 Jan 2019 20:24:23 +0800")
YueHaibing <yuehaibing@huawei.com> writes:
> ping...
>
> On 2018/12/20 10:51, YueHaibing wrote:
>> Fixes gcc '-Wunused-but-set-variable' warning:
>>
>> drivers/net/wireless/virt_wifi.c: In function 'virt_wifi_net_device_stop':
>> drivers/net/wireless/virt_wifi.c:432:31: warning:
>> variable 'w_priv' set but not used [-Wunused-but-set-variable]
>>
>> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Same here, the prefix should be "virt_wifi:".
--
Kalle Valo
next prev parent reply other threads:[~2019-01-16 16:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-20 2:51 [PATCH] mac80211-next: remove set but not used variable 'w_priv' YueHaibing
2019-01-16 12:24 ` YueHaibing
2019-01-16 16:09 ` Kalle Valo [this message]
2019-01-17 3:17 ` [PATCH v2] virt_wifi: " YueHaibing
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=87r2dc4m9j.fsf@codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--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).