From: David S. Miller Date: Tue, 5 Jul 2005 22:18:51 +0000 (-0700) Subject: [TCP]: Kill extra cwnd validate in __tcp_push_pending_frames(). X-Git-Tag: v2.6.13-rc2~6^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a762a9800752f05fa8768bb0ac35d0e7f1bcfe7f;p=pandora-kernel.git [TCP]: Kill extra cwnd validate in __tcp_push_pending_frames(). The tcp_cwnd_validate() function should only be invoked if we actually send some frames, yet __tcp_push_pending_frames() will always invoke it. tcp_write_xmit() does the call for us, so the call here can simply be removed. Also, tcp_write_xmit() can be marked static. Signed-off-by: David S. Miller --- Reading git-diff-tree failed