projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dbac67
)
ath9k_hw: remove a useless WARN_ON
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 20 Jan 2013 17:51:59 +0000
(18:51 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 22 Jan 2013 21:05:32 +0000
(16:05 -0500)
&ah->curchan->ani can never be NULL
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ani.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/ani.c
b/drivers/net/wireless/ath/ath9k/ani.c
index a9218a19875856eb5f82c91896fc639bf82750e0..7ecd40f07a7442d4769c6e0e60331f9824f3d217 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/ani.c
+++ b/
drivers/net/wireless/ath/ath9k/ani.c
@@
-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;