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>
This commit is contained in:
parent
795cc0ad54
commit
63a7c8e254
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue