From: Johannes Berg Date: Wed, 19 Aug 2015 07:48:40 +0000 (+0200) Subject: virtio_net: use DECLARE_EWMA X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~126^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5377d75823ff90c0d5d52d69087707b2e54be21b;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed