aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2009-02-12 13:38:56 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:51:47 -0500
commit17580f6ab172089a31412bc895de5fcef9f8c073 (patch)
treed471c3132ab8034b1c5cfd5030438a84db8ccfad /drivers/net
parentd0f48f9d1fa9ad01effdf280cda944c6eb518f59 (diff)
ath9k: remove ath9k_regd_get_rd()
The function ath9k_regd_get_rd() is unused. Signed-off-by: Bob Copeland <me@bobcopeland.com> Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath9k/regd.c5
-rw-r--r--drivers/net/wireless/ath9k/regd.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath9k/regd.c b/drivers/net/wireless/ath9k/regd.c
index 979351540e69..eb0d1b754d20 100644
--- a/drivers/net/wireless/ath9k/regd.c
+++ b/drivers/net/wireless/ath9k/regd.c
@@ -117,11 +117,6 @@ static u16 ath9k_regd_get_eepromRD(struct ath_hw *ah)
117 return ah->regulatory.current_rd & ~WORLDWIDE_ROAMING_FLAG; 117 return ah->regulatory.current_rd & ~WORLDWIDE_ROAMING_FLAG;
118} 118}
119 119
120u16 ath9k_regd_get_rd(struct ath_hw *ah)
121{
122 return ath9k_regd_get_eepromRD(ah);
123}
124
125bool ath9k_is_world_regd(struct ath_hw *ah) 120bool ath9k_is_world_regd(struct ath_hw *ah)
126{ 121{
127 return is_wwr_sku(ath9k_regd_get_eepromRD(ah)); 122 return is_wwr_sku(ath9k_regd_get_eepromRD(ah));
diff --git a/drivers/net/wireless/ath9k/regd.h b/drivers/net/wireless/ath9k/regd.h
index 8f0bfcc907b5..f74f8ff94771 100644
--- a/drivers/net/wireless/ath9k/regd.h
+++ b/drivers/net/wireless/ath9k/regd.h
@@ -233,7 +233,6 @@ enum CountryCode {
233 CTRY_BELGIUM2 = 5002 233 CTRY_BELGIUM2 = 5002
234}; 234};
235 235
236u16 ath9k_regd_get_rd(struct ath_hw *ah);
237bool ath9k_is_world_regd(struct ath_hw *ah); 236bool ath9k_is_world_regd(struct ath_hw *ah);
238const struct ieee80211_regdomain *ath9k_world_regdomain(struct ath_hw *ah); 237const struct ieee80211_regdomain *ath9k_world_regdomain(struct ath_hw *ah);
239const struct ieee80211_regdomain *ath9k_default_world_regdomain(void); 238const struct ieee80211_regdomain *ath9k_default_world_regdomain(void);