mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 20:08:55 +07:00
ath9k_hw: remove a useless WARN_ON
&ah->curchan->ani can never be NULL Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
9dbac67da3
commit
c5e818ef08
@ -419,9 +419,6 @@ void ath9k_hw_ani_monitor(struct ath_hw *ah, struct ath9k_channel *chan)
|
||||
return;
|
||||
|
||||
aniState = &ah->curchan->ani;
|
||||
if (WARN_ON(!aniState))
|
||||
return;
|
||||
|
||||
if (!ath9k_hw_ani_read_counters(ah))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user