From: Gerrit Renker Date: Sun, 25 Nov 2007 00:05:51 +0000 (-0200) Subject: [CCID2]: Replace cwnd assignment-function with assignment X-Git-Tag: v2.6.25-rc1~1162^2~1345 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3deeadd74bbf916b502d307222833ffcf68db557;p=pandora-kernel.git [CCID2]: Replace cwnd assignment-function with assignment The current function ccid2_change_cwnd in effect makes only an assignment, as the test whether cwnd has reached 0 is only required when cwnd is halved. This patch simplifies the code by replacing the function with the assignment it performs. Furthermore, since ssthresh derives from cwnd and appears in many assignments and comparisons, the type of ssthresh has also been changed to match that of cwnd. Signed-off-by: Gerrit Renker Signed-off-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed