diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2009-05-08 20:54:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-11 15:24:05 -0400 |
commit | 8fbff4b838c53945d6baeafe609c627000f85cd6 (patch) | |
tree | 933100908a181acf99aea104b13db17073303113 /drivers/net/wireless/ath/ath9k/eeprom.h | |
parent | 19eddca67628e5fb722e4ebbbba8c307a884d0e8 (diff) |
ath9k: Cleanup ineffective return values
This patch makes the return type of some of the functions
void as those functions always return true
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/eeprom.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/eeprom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/eeprom.h b/drivers/net/wireless/ath/ath9k/eeprom.h index 7c59dc47f912..67b8bd12941a 100644 --- a/drivers/net/wireless/ath/ath9k/eeprom.h +++ b/drivers/net/wireless/ath/ath9k/eeprom.h | |||
@@ -494,7 +494,7 @@ struct eeprom_ops { | |||
494 | struct ath9k_channel *chan); | 494 | struct ath9k_channel *chan); |
495 | void (*set_board_values)(struct ath_hw *hw, struct ath9k_channel *chan); | 495 | void (*set_board_values)(struct ath_hw *hw, struct ath9k_channel *chan); |
496 | void (*set_addac)(struct ath_hw *hw, struct ath9k_channel *chan); | 496 | void (*set_addac)(struct ath_hw *hw, struct ath9k_channel *chan); |
497 | int (*set_txpower)(struct ath_hw *hw, struct ath9k_channel *chan, | 497 | void (*set_txpower)(struct ath_hw *hw, struct ath9k_channel *chan, |
498 | u16 cfgCtl, u8 twiceAntennaReduction, | 498 | u16 cfgCtl, u8 twiceAntennaReduction, |
499 | u8 twiceMaxRegulatoryPower, u8 powerLimit); | 499 | u8 twiceMaxRegulatoryPower, u8 powerLimit); |
500 | u16 (*get_spur_channel)(struct ath_hw *ah, u16 i, bool is2GHz); | 500 | u16 (*get_spur_channel)(struct ath_hw *ah, u16 i, bool is2GHz); |