diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-08-19 09:46:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-20 14:10:22 -0700 |
commit | 11ab35ed0457a4b7914358986a67064ecb467e7d (patch) | |
tree | 4a9f1194d1dc5160bd094ec6718ee0fecb4c494a /drivers/net/wireless/rt2x00/Kconfig | |
parent | 46f26ddf562e7495ffa37144be5e447aeb13795e (diff) | |
download | linux-11ab35ed0457a4b7914358986a67064ecb467e7d.tar.bz2 |
rt2x00: use DECLARE_EWMA
Instead of using the out-of-line EWMA calculation, use DECLARE_EWMA()
to create static inlines. On x86/64 this results in code that's one
byte larger (for me), but reduces struct link_ant and struct link
size by the two unsigned long values that store the parameters each.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/Kconfig')
-rw-r--r-- | drivers/net/wireless/rt2x00/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/Kconfig b/drivers/net/wireless/rt2x00/Kconfig index 2b4ef256c6b9..de62f5dcb62f 100644 --- a/drivers/net/wireless/rt2x00/Kconfig +++ b/drivers/net/wireless/rt2x00/Kconfig @@ -240,7 +240,6 @@ config RT2X00_LIB_USB config RT2X00_LIB tristate - select AVERAGE config RT2X00_LIB_FIRMWARE bool |