Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



YueHaibing <yuehaibing@xxxxxxxxxx> 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@xxxxxxxxxx>

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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux