tcp: Remove unnecessary arg from tcp_enter_cwr and tcp_init_cwnd_reduction
authorChristoph Paasch <christoph.paasch@uclouvain.be>
Mon, 14 Jul 2014 14:58:32 +0000 (16:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2014 23:19:36 +0000 (16:19 -0700)
commit5ee2c941b5969eb1b5592f9731b3ee76a784641f
treec2d5a3df3af7a9043f368cb2549f1dede4da7af4
parent5517750f058edd111bcabe5e116056cc63b1f39c
tcp: Remove unnecessary arg from tcp_enter_cwr and tcp_init_cwnd_reduction

Since Yuchung's 9b44190dc11 (tcp: refactor F-RTO), tcp_enter_cwr is always
called with set_ssthresh = 1. Thus, we can remove this argument from
tcp_enter_cwr. Further, as we remove this one, tcp_init_cwnd_reduction
is then always called with set_ssthresh = true, and so we can get rid of
this argument as well.

Cc: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c