ath9k: remove ath9k_regd_get_rd()
authorBob Copeland <me@bobcopeland.com>
Thu, 12 Feb 2009 18:38:56 +0000 (13:38 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:51:47 +0000 (14:51 -0500)
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>
drivers/net/wireless/ath9k/regd.c
drivers/net/wireless/ath9k/regd.h

index 979351540e69b0cfac3578c89e12beffed44c788..eb0d1b754d2062d9a7c83efc6b0c0463367fad34 100644 (file)
@@ -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));
index 8f0bfcc907b5556fdd7feb4fd1304836e3937539..f74f8ff94771880976ca55327131e92cc0117e2d 100644 (file)
@@ -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);