aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath9k/regd.c1
-rw-r--r--drivers/net/wireless/ath9k/regd.h1
2 files changed, 0 insertions, 2 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) {
diff --git a/drivers/net/wireless/ath9k/regd.h b/drivers/net/wireless/ath9k/regd.h
index 39420de818f8..53a9f4627f3c 100644
--- a/drivers/net/wireless/ath9k/regd.h
+++ b/drivers/net/wireless/ath9k/regd.h
@@ -52,7 +52,6 @@ struct ath9k_regulatory {
52 u32 tp_scale; 52 u32 tp_scale;
53 u16 current_rd; 53 u16 current_rd;
54 u16 current_rd_ext; 54 u16 current_rd_ext;
55 u16 current_rd_inuse;
56 int16_t power_limit; 55 int16_t power_limit;
57 struct reg_dmn_pair_mapping *regpair; 56 struct reg_dmn_pair_mapping *regpair;
58}; 57};