From: Kalle Valo <kvalo@codeaurora•org>
To: YueHaibing <yuehaibing@huawei•com>
Cc: "John W. Linville" <linville@tuxdriver•com>,
Colin Ian King <colin.king@canonical•com>,
YueHaibing <yuehaibing@huawei•com>,
<linux-wireless@vger•kernel.org>, <netdev@vger•kernel.org>,
<kernel-janitors@vger•kernel.org>
Subject: Re: [PATCH] rtl818x_pci: Remove set but not used variables 'io_addr, mem_addr'
Date: Tue, 19 Feb 2019 15:18:01 +0000 (UTC) [thread overview]
Message-ID: <20190219151801.F3006608D4@smtp.codeaurora.org> (raw)
In-Reply-To: <20190218075226.183964-1-yuehaibing@huawei.com>
YueHaibing <yuehaibing@huawei•com> wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c: In function 'rtl8180_probe':
> drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1727:15: warning:
> variable 'io_addr' set but not used [-Wunused-but-set-variable]
>
> drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c:1726:16: warning:
> variable 'mem_addr' set but not used [-Wunused-but-set-variable]
>
> They're never used since introduction.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei•com>
Patch applied to wireless-drivers-next.git, thanks.
b9b81d152cfb rtl818x_pci: Remove set but not used variables 'io_addr, mem_addr'
--
https://patchwork.kernel.org/patch/10817425/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
prev parent reply other threads:[~2019-02-19 15:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-18 7:52 [PATCH] rtl818x_pci: Remove set but not used variables 'io_addr, mem_addr' YueHaibing
2019-02-19 15:18 ` 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=20190219151801.F3006608D4@smtp.codeaurora.org \
--to=kvalo@codeaurora$(echo .)org \
--cc=colin.king@canonical$(echo .)com \
--cc=kernel-janitors@vger$(echo .)kernel.org \
--cc=linux-wireless@vger$(echo .)kernel.org \
--cc=linville@tuxdriver$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=yuehaibing@huawei$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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