Commit 63a7c8e2 authored by Bob Copeland's avatar Bob Copeland Committed by John W. Linville
Browse files

ath9k: remove write-only current_rd_inuse

The current_rd_inuse regulatory value is assigned but not used anywhere.
Signed-off-by: default avatarBob Copeland <>
Acked-by: default avatarLuis R. Rodriguez <>
Signed-off-by: default avatarJohn W. Linville <>
parent 795cc0ad
......@@ -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) {
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment