Search Linux Wireless

Re: [PATCH 4/5] ath9k_htc: Fix warnings due to -Wunused-but-set-variable

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

 



On Mon, Apr 25, 2011 at 03:56:19PM +0530, Rajkumar Manoharan wrote:
> These warnings are exposed by gcc 4.6.
> drivers/net/wireless/ath/ath9k/htc_drv_txrx.c: In function
> 'ath9k_htc_tx_process':
> drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:449:35: warning: variable
> 'sband' set but not used [-Wunused-but-set-variable]
> drivers/net/wireless/ath/ath9k/htc_drv_beacon.c: In function
> 'ath9k_htc_beacon_config_sta':
> drivers/net/wireless/ath/ath9k/htc_drv_main.c: In function
> 'ath9k_htc_stop':
> drivers/net/wireless/ath/ath9k/htc_drv_main.c:967:6: warning: variable
> 'ret' set but not used [-Wunused-but-set-variable]
> drivers/net/wireless/ath/ath9k/htc_drv_main.c: In function
> 'ath9k_htc_remove_interface':
> drivers/net/wireless/ath/ath9k/htc_drv_gpio.c: In function
> 'ath_btcoex_period_work':
> drivers/net/wireless/ath/ath9k/htc_drv_gpio.c:67:6: warning: variable
> 'ret' set but not used [-Wunused-but-set-variable
>  ...
> 
> Signed-off-by: Rajkumar Manoharan <rmanoharan@xxxxxxxxxxx>

This doesn't seem to apply -- what tree are you using?

-- 
John W. Linville		Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx			might be all we have.  Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux