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 Wed, Apr 27, 2011 at 01:15:56AM +0530, John W. Linville wrote:
> 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?
>
These warnings were already addressed. Please drop this patch
and  "ath9k_hw: Fix warnings due to -Wunused-but-set-variable"
Sorry for the inconvenience.

--
Rajkumar
--
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