diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-07-13 12:26:46 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-08-14 17:49:53 +0200 |
commit | 40d9a38ad3b7029be9c278738b67cbdb6349ce85 (patch) | |
tree | e71dd40eb0afb147df45a91d36cb69faa3630880 /net/mac80211/Kconfig | |
parent | average: provide macro to create static EWMA (diff) | |
download | linux-40d9a38ad3b7029be9c278738b67cbdb6349ce85.tar.xz linux-40d9a38ad3b7029be9c278738b67cbdb6349ce85.zip |
mac80211: use DECLARE_EWMA
Instead of using the out-of-line average calculation, use the new
DECLARE_EWMA() macro to declare a signal EWMA, and use that.
This actually *reduces* the code size slightly (on x86-64) while
also reducing the station info size by 80 bytes.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/Kconfig')
-rw-r--r-- | net/mac80211/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig index 086de496a4c1..3891cbd2adea 100644 --- a/net/mac80211/Kconfig +++ b/net/mac80211/Kconfig @@ -7,7 +7,6 @@ config MAC80211 select CRYPTO_CCM select CRYPTO_GCM select CRC32 - select AVERAGE ---help--- This option enables the hardware independent IEEE 802.11 networking stack. |