From: Thomas Huehn Date: Tue, 24 Mar 2015 20:09:42 +0000 (+0100) Subject: mac80211: reduce calculation costs of EWMA X-Git-Tag: omap-for-v4.2/o2_dc~131^2~30^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ade6d4a2ec57d258bc181a155288c267dd8cf094;p=pandora-kernel.git mac80211: reduce calculation costs of EWMA This patch reduces the calculation costs of the EWMA macro from "2x multiplication and 1 addition" down to "1x multiplication and 2x additions". This slightly improves performance depending on the CPU architecture. Signed-off-by: Thomas Huehn Acked-by: Felix Fietkau Signed-off-by: Johannes Berg --- Reading git-diff-tree failed