1 --- a/drivers/net/wireless/ath/ath9k/eeprom_def.c
2 +++ b/drivers/net/wireless/ath/ath9k/eeprom_def.c
3 @@ -415,8 +415,6 @@ static u32 ath9k_hw_def_get_eeprom(struc
4 return get_unaligned_be16(pBase->macAddr + 4);
6 return pBase->regDmn[0];
8 - return pBase->regDmn[1];
10 return pBase->deviceCap;
12 --- a/drivers/net/wireless/ath/ath9k/eeprom_4k.c
13 +++ b/drivers/net/wireless/ath/ath9k/eeprom_4k.c
14 @@ -322,8 +322,6 @@ static u32 ath9k_hw_4k_get_eeprom(struct
15 return get_unaligned_be16(pBase->macAddr + 4);
17 return pBase->regDmn[0];
19 - return pBase->regDmn[1];
21 return pBase->deviceCap;
23 --- a/drivers/net/wireless/ath/ath9k/eeprom_9287.c
24 +++ b/drivers/net/wireless/ath/ath9k/eeprom_9287.c
25 @@ -308,8 +308,6 @@ static u32 ath9k_hw_ar9287_get_eeprom(st
26 return get_unaligned_be16(pBase->macAddr + 4);
28 return pBase->regDmn[0];
30 - return pBase->regDmn[1];
32 return pBase->deviceCap;
34 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
35 +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
36 @@ -3014,8 +3014,6 @@ static u32 ath9k_hw_ar9300_get_eeprom(st
37 return get_unaligned_be16(eep->macAddr + 4);
39 return le16_to_cpu(pBase->regDmn[0]);
41 - return le16_to_cpu(pBase->regDmn[1]);
43 return pBase->deviceCap;
45 --- a/drivers/net/wireless/ath/ath9k/eeprom.h
46 +++ b/drivers/net/wireless/ath/ath9k/eeprom.h
47 @@ -225,7 +225,6 @@ enum eeprom_param {