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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user