Skip to contentSkip to conversation

ath9k: remove ath9k_regd_get_rd()

PATCH New Bob Copeland 2 participants 2 messages Feb 12, 2009 – Feb 13, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 4/6 ath9k: remove ath9k_regd_get_rd()

The function ath9k_regd_get_rd() is unused.

---
 drivers/net/wireless/ath9k/regd.c |    5 -----
 drivers/net/wireless/ath9k/regd.h |    1 -
 2 files changed, 0 insertions(+), 6 deletions(-)
drivers/net/wireless/ath9k/regd.c +0 -5
index 9793515..eb0d1b7 100644
@@ -117,11 +117,6 @@ static u16 ath9k_regd_get_eepromRD(struct ath_hw *ah)
 	return ah->regulatory.current_rd & ~WORLDWIDE_ROAMING_FLAG;
 }
 
-u16 ath9k_regd_get_rd(struct ath_hw *ah)
-{
-	return ath9k_regd_get_eepromRD(ah);
-}
-
 bool ath9k_is_world_regd(struct ath_hw *ah)
 {
 	return is_wwr_sku(ath9k_regd_get_eepromRD(ah));
drivers/net/wireless/ath9k/regd.h +0 -1
index 8f0bfcc..f74f8ff 100644
@@ -233,7 +233,6 @@ enum CountryCode {
 	CTRY_BELGIUM2 = 5002
 };
 
-u16 ath9k_regd_get_rd(struct ath_hw *ah);
 bool ath9k_is_world_regd(struct ath_hw *ah);
 const struct ieee80211_regdomain *ath9k_world_regdomain(struct ath_hw *ah);
 const struct ieee80211_regdomain *ath9k_default_world_regdomain(void);
Signature · 1 line
1.6.0.6