diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-12-01 17:47:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:55:41 -0500 |
commit | c3a05c6050a339c92e49fae0ba77dbba0d41fd99 (patch) | |
tree | 4bc4e003d522cc748aceb7478f86c043e382ad8e /net/ipv4/tcp_hybla.c | |
parent | ede9f3b186bc3eb0fce084bdcab500efc3721a80 (diff) |
[TCP]: Cong.ctrl modules: remove unused good_ack from cong_avoid
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_hybla.c')
-rw-r--r-- | net/ipv4/tcp_hybla.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/tcp_hybla.c b/net/ipv4/tcp_hybla.c index b3e55cf56171..44618b675916 100644 --- a/net/ipv4/tcp_hybla.c +++ b/net/ipv4/tcp_hybla.c | |||
@@ -85,8 +85,7 @@ static inline u32 hybla_fraction(u32 odds) | |||
85 | * o Give cwnd a new value based on the model proposed | 85 | * o Give cwnd a new value based on the model proposed |
86 | * o remember increments <1 | 86 | * o remember increments <1 |
87 | */ | 87 | */ |
88 | static void hybla_cong_avoid(struct sock *sk, u32 ack, | 88 | static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) |
89 | u32 in_flight, int flag) | ||
90 | { | 89 | { |
91 | struct tcp_sock *tp = tcp_sk(sk); | 90 | struct tcp_sock *tp = tcp_sk(sk); |
92 | struct hybla *ca = inet_csk_ca(sk); | 91 | struct hybla *ca = inet_csk_ca(sk); |
@@ -103,7 +102,7 @@ static void hybla_cong_avoid(struct sock *sk, u32 ack, | |||
103 | return; | 102 | return; |
104 | 103 | ||
105 | if (!ca->hybla_en) | 104 | if (!ca->hybla_en) |
106 | return tcp_reno_cong_avoid(sk, ack, in_flight, flag); | 105 | return tcp_reno_cong_avoid(sk, ack, in_flight); |
107 | 106 | ||
108 | if (ca->rho == 0) | 107 | if (ca->rho == 0) |
109 | hybla_recalc_param(sk); | 108 | hybla_recalc_param(sk); |