Search Linux Wireless

Re: [PATCH 5/5] ath9k_hw: 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:20PM +0530, Rajkumar Manoharan wrote:
> These warnings are exposed by gcc 4.6.
> drivers/net/wireless/ath/ath9k/hw.c: In function
> 'ath9k_hw_fill_cap_info':
> drivers/net/wireless/ath/ath9k/hw.c:1796:6: warning: variable 'capField'
> set but not used [-Wunused-but-set-variable]
> drivers/net/wireless/ath/ath9k/ar9003_phy.c: In function
> 'ar9003_hw_process_ini':
> drivers/net/wireless/ath/ath9k/ar9003_phy.c:602:18: warning: variable
> 'freqIndex' set but not used [-Wunused-but-set-variable]
> drivers/net/wireless/ath/ath9k/eeprom_9287.c: In function
> 'ath9k_hw_set_ar9287_power_cal_table':
> drivers/net/wireless/ath/ath9k/eeprom_9287.c:322:10: warning: variable
> 'modalIdx' set but not used [-Wunused-but-set-variable]
> drivers/net/wireless/ath/ath9k/ar9003_eeprom.c: In function
> 'ar9300_compress_decision':
> drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3220:6: warning: variable
> 'dptr' set but not used [-Wunused-but-set-variable]
> 
> Signed-off-by: Rajkumar Manoharan <rmanoharan@xxxxxxxxxxx>

This doesn't seem to apply either...

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