diff options
author | Bob Copeland <me@bobcopeland.com> | 2009-02-12 13:38:53 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:51:46 -0500 |
commit | 63a7c8e254651d1080809de22f0db3ac70fbf914 (patch) | |
tree | 0eab56767d3ed377c8496634d7372a247258ab35 /drivers/net/wireless/ath9k/regd.c | |
parent | 795cc0ad54128ada6f54d8b1eb051a907df6387e (diff) |
ath9k: remove write-only current_rd_inuse
The current_rd_inuse regulatory value is assigned but not used anywhere.
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/wireless/ath9k/regd.c')
-rw-r--r-- | drivers/net/wireless/ath9k/regd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/regd.c b/drivers/net/wireless/ath9k/regd.c index 8c2b56ac55ff..0c632fff8ada 100644 --- a/drivers/net/wireless/ath9k/regd.c +++ b/drivers/net/wireless/ath9k/regd.c | |||
@@ -433,7 +433,6 @@ int ath9k_regd_init(struct ath_hw *ah) | |||
433 | regdmn = country->regDmnEnum; | 433 | regdmn = country->regDmnEnum; |
434 | } | 434 | } |
435 | 435 | ||
436 | ah->regulatory.current_rd_inuse = regdmn; | ||
437 | ah->regulatory.regpair = ath9k_get_regpair(regdmn); | 436 | ah->regulatory.regpair = ath9k_get_regpair(regdmn); |
438 | 437 | ||
439 | if (!ah->regulatory.regpair) { | 438 | if (!ah->regulatory.regpair) { |