diff options
author | 2015-08-19 09:48:40 +0200 | |
---|---|---|
committer | 2015-08-20 14:10:22 -0700 | |
commit | 5377d75823ff90c0d5d52d69087707b2e54be21b (patch) | |
tree | bda33ec08e16ce3336febc410232286a2371dc6e /net/tipc | |
parent | bnx2x: Fix vxlan endianity issue (diff) | |
download | linux-dev-5377d75823ff90c0d5d52d69087707b2e54be21b.tar.xz linux-dev-5377d75823ff90c0d5d52d69087707b2e54be21b.zip |
virtio_net: 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 no change in code
size for me, but reduces the struct receive_queue size by the two
unsigned long values that store the parameters.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions