[CCID3]: Inline for moving average
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 20 Nov 2007 20:09:59 +0000 (18:09 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:43 +0000 (14:54 -0800)
commitc3ada46a009001e144b29736880962f24ee2afdf
treea475095e2ef5bff2f0d94a24ca94776578fe1c75
parenta5358fdc9c52e44d79dcd144375e089e166508d7
[CCID3]: Inline for moving average

The moving average computation occurs so frequently in the CCID 3 code that
it merits an inline function  of its own. This is uses a suggestion by
Arnaldo as per http://www.mail-archive.com/dccp@vger.kernel.org/msg01662.html

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid3.c
net/dccp/ccids/lib/tfrc.h