ath9k_hw: remove EEP_REG_1
authorFelix Fietkau <nbd@openwrt.org>
Sat, 8 Oct 2011 18:06:22 +0000 (20:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Oct 2011 20:41:28 +0000 (16:41 -0400)
It was previously used for current_rd_ext

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

index d7a5ca7..bf08acc 100644 (file)
@@ -2995,8 +2995,6 @@ static u32 ath9k_hw_ar9300_get_eeprom(struct ath_hw *ah,
                return get_unaligned_be16(eep->macAddr + 4);
        case EEP_REG_0:
                return le16_to_cpu(pBase->regDmn[0]);
-       case EEP_REG_1:
-               return le16_to_cpu(pBase->regDmn[1]);
        case EEP_OP_CAP:
                return pBase->deviceCap;
        case EEP_OP_MODE:
index 909a224..3721770 100644 (file)
@@ -220,7 +220,6 @@ enum eeprom_param {
        EEP_MAC_MID,
        EEP_MAC_LSW,
        EEP_REG_0,
-       EEP_REG_1,
        EEP_OP_CAP,
        EEP_OP_MODE,
        EEP_RF_SILENT,
index ab6811d..9a7520f 100644 (file)
@@ -322,8 +322,6 @@ static u32 ath9k_hw_4k_get_eeprom(struct ath_hw *ah,
                return get_unaligned_be16(pBase->macAddr + 4);
        case EEP_REG_0:
                return pBase->regDmn[0];
-       case EEP_REG_1:
-               return pBase->regDmn[1];
        case EEP_OP_CAP:
                return pBase->deviceCap;
        case EEP_OP_MODE:
index 90d771f..4f5c50a 100644 (file)
@@ -308,8 +308,6 @@ static u32 ath9k_hw_ar9287_get_eeprom(struct ath_hw *ah,
                return get_unaligned_be16(pBase->macAddr + 4);
        case EEP_REG_0:
                return pBase->regDmn[0];
-       case EEP_REG_1:
-               return pBase->regDmn[1];
        case EEP_OP_CAP:
                return pBase->deviceCap;
        case EEP_OP_MODE:
index e175e20..81e6296 100644 (file)
@@ -415,8 +415,6 @@ static u32 ath9k_hw_def_get_eeprom(struct ath_hw *ah,
                return get_unaligned_be16(pBase->macAddr + 4);
        case EEP_REG_0:
                return pBase->regDmn[0];
-       case EEP_REG_1:
-               return pBase->regDmn[1];
        case EEP_OP_CAP:
                return pBase->deviceCap;
        case EEP_OP_MODE: