summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2015-08-19 09:48:40 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-20 14:10:22 -0700
commit5377d75823ff90c0d5d52d69087707b2e54be21b (patch)
treebda33ec08e16ce3336febc410232286a2371dc6e /drivers/net/Kconfig
parent0f8f27de19667075591eaffbf435dd78c73a2df4 (diff)
downloadop-kernel-dev-5377d75823ff90c0d5d52d69087707b2e54be21b.zip
op-kernel-dev-5377d75823ff90c0d5d52d69087707b2e54be21b.tar.gz
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 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index e58468b..f503736 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -282,7 +282,6 @@ config VETH
config VIRTIO_NET
tristate "Virtio network driver"
depends on VIRTIO
- select AVERAGE
---help---
This is the virtual network driver for virtio. It can be used with
lguest or QEMU based VMMs (like KVM or Xen). Say Y or M.
OpenPOWER on IntegriCloud