Subject: Re: [PATCH] rtl818x_pci: Remove set but not used variables 'io_addr, mem_addr'

From: Kalle Valo <[email-masked]>
Date: Tue, 19 Feb 2019 15:18:01 +0000 (UTC)

YueHaibing <[email-masked]> 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 <[email-masked]>

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