ath5k: use DECLARE_EWMA

This reduces code size slightly (at least on x86/64) while also
removing memory consumption by two unsigned long values for each
ath5k device.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Johannes Berg
2015-08-19 09:46:20 +02:00
committed by David S. Miller
父節點 5377d75823
當前提交 46f26ddf56
共有 5 個文件被更改,包括 8 次插入7 次删除

查看文件

@@ -5,7 +5,6 @@ config ATH5K
select MAC80211_LEDS
select LEDS_CLASS
select NEW_LEDS
select AVERAGE
select ATH5K_AHB if ATH25
select ATH5K_PCI if !ATH25
---help---