[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190219151801.F3006608D4@smtp.codeaurora.org>
Date: Tue, 19 Feb 2019 15:18:01 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: "John W. Linville" <linville@...driver.com>,
Colin Ian King <colin.king@...onical.com>,
YueHaibing <yuehaibing@...wei.com>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH] rtl818x_pci: Remove set but not used variables 'io_addr,
mem_addr'
YueHaibing <yuehaibing@...wei.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@...wei.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
Powered by blists - more mailing lists