Search Linux Wireless

Re: [PATCH v4] rsi: remove set but not used variables 'header_size' and 'tx_params'

[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/rsi/rsi_91x_hal.c: In function 'rsi_send_data_pkt':
> drivers/net/wireless/rsi/rsi_91x_hal.c:288:5: warning:
>  variable 'header_size' set but not used [-Wunused-but-set-variable]
> 
> 'tx_params' only used for 'header_size' dereferenced,so also
> can be removed.
> 
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

ec7eccf7ad1c rsi: remove set but not used variables 'header_size' and 'tx_params'

-- 
https://patchwork.kernel.org/patch/10584631/

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