Skip to content

Commit

Permalink
ath9k: remove ath9k_regd_get_rd()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bob Copeland authored and John W. Linville committed Feb 27, 2009
1 parent d0f48f9 commit 17580f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions drivers/net/wireless/ath9k/regd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
1 change: 0 additions & 1 deletion drivers/net/wireless/ath9k/regd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 17580f6

Please sign in to comment.