Skip to content
Commit a762a980 authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent f44b5271
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment