ath9k_hw: remove ATH9K_HW_CAP_ENHANCEDPM
authorFelix Fietkau <nbd@openwrt.org>
Wed, 23 Mar 2011 19:57:32 +0000 (20:57 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Mar 2011 18:15:20 +0000 (14:15 -0400)
It is not used anywhere

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h

index 5c676da73fee125f8ed0e82a3a792e63248e9aae..a2509dc5e87e85408800fa3c9032be2900ee2a7b 100644 (file)
@@ -1903,8 +1903,6 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah)
                pCap->rts_aggr_limit = (8 * 1024);
        }
 
-       pCap->hw_caps |= ATH9K_HW_CAP_ENHANCEDPM;
-
 #if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)
        ah->rfsilent = ah->eep_ops->get_eeprom(ah, EEP_RF_SILENT);
        if (ah->rfsilent & EEP_RFSILENT_ENABLED) {
index 296e51b6135b04808d9e8d08771d116002e3ebf2..a0243b810a04796d439c6dbeb3169316c17d1abd 100644 (file)
@@ -174,7 +174,6 @@ enum ath9k_hw_caps {
        ATH9K_HW_CAP_HT                         = BIT(0),
        ATH9K_HW_CAP_RFSILENT                   = BIT(1),
        ATH9K_HW_CAP_CST                        = BIT(2),
-       ATH9K_HW_CAP_ENHANCEDPM                 = BIT(3),
        ATH9K_HW_CAP_AUTOSLEEP                  = BIT(4),
        ATH9K_HW_CAP_4KB_SPLITTRANS             = BIT(5),
        ATH9K_HW_CAP_EDMA                       = BIT(6),