commit | a762a9800752f05fa8768bb0ac35d0e7f1bcfe7f | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Tue Jul 05 15:18:51 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 05 15:18:51 2005 -0700 |
tree | 2e92990b86b5bb5404e2f784f7cbb2579609bd95 | |
parent | f44b527177d57ed382bfd93e1b55232465f6d058 [diff] |
[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 <davem@davemloft.net>