diff options
author | Stanislav Fomichev <stfomichev@yandex-team.ru> | 2014-02-12 08:35:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-13 18:22:34 -0500 |
commit | 45f7435968363816f8fc4c6abef692808534140d (patch) | |
tree | a4fa1938204a2967ceb54141927da8f8c57ff214 /net/ipv4/tcp_westwood.c | |
parent | f93f160b5a3546b6d3143894f63a326442071e48 (diff) |
tcp: remove unused min_cwnd member of tcp_congestion_ops
Commit 684bad110757 "tcp: use PRR to reduce cwin in CWR state" removed all
calls to min_cwnd, so we can safely remove it.
Also, remove tcp_reno_min_cwnd because it was only used for min_cwnd.
Signed-off-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_westwood.c')
-rw-r--r-- | net/ipv4/tcp_westwood.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/tcp_westwood.c b/net/ipv4/tcp_westwood.c index 76a1e23259e1..b94a04ae2ed5 100644 --- a/net/ipv4/tcp_westwood.c +++ b/net/ipv4/tcp_westwood.c | |||
@@ -276,7 +276,6 @@ static struct tcp_congestion_ops tcp_westwood __read_mostly = { | |||
276 | .init = tcp_westwood_init, | 276 | .init = tcp_westwood_init, |
277 | .ssthresh = tcp_reno_ssthresh, | 277 | .ssthresh = tcp_reno_ssthresh, |
278 | .cong_avoid = tcp_reno_cong_avoid, | 278 | .cong_avoid = tcp_reno_cong_avoid, |
279 | .min_cwnd = tcp_westwood_bw_rttmin, | ||
280 | .cwnd_event = tcp_westwood_event, | 279 | .cwnd_event = tcp_westwood_event, |
281 | .get_info = tcp_westwood_info, | 280 | .get_info = tcp_westwood_info, |
282 | .pkts_acked = tcp_westwood_pkts_acked, | 281 | .pkts_acked = tcp_westwood_pkts_acked, |