ath9k: remove write-only current_rd_inuse
PATCH 1/6 ath9k: remove write-only current_rd_inuse
The current_rd_inuse regulatory value is assigned but not used anywhere.
Signed-off-by Bob Copeland <[email protected]>
--- drivers/net/wireless/ath9k/regd.c | 1 - drivers/net/wireless/ath9k/regd.h | 1 - 2 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/wireless/ath9k/regd.c +0 -1
@@ -433,7 +433,6 @@ int ath9k_regd_init(struct ath_hw *ah) regdmn = country->regDmnEnum; } - ah->regulatory.current_rd_inuse = regdmn; ah->regulatory.regpair =ath9k_get_regpair (regdmn);if (!ah->regulatory.regpair) {
drivers/net/wireless/ath9k/regd.h +0 -1
@@ -52,7 +52,6 @@ struct ath9k_regulatory {u32 tp_scale;u16 current_rd;u16 current_rd_ext; -u16 current_rd_inuse;int16_t power_limit;struct reg_dmn_pair_mapping *regpair; };
Signature · 1 line
1.6.0.6
PATCH 1/6 ath9k: remove write-only current_rd_inuse
Quoted 3 lines · Bob Copeland
The
current_rd_inuseregulatory value is assigned but not used anywhere.Signed-off-by Bob Copeland <[email protected]>
Luis