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 /include/net/tcp.h | |
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 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 7e583261f3a0..cdd0050b97a4 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -652,7 +652,7 @@ struct tcp_congestion_ops { | |||
652 | /* lower bound for congestion window (optional) */ | 652 | /* lower bound for congestion window (optional) */ |
653 | u32 (*min_cwnd)(const struct sock *sk); | 653 | u32 (*min_cwnd)(const struct sock *sk); |
654 | /* do new cwnd calculation (required) */ | 654 | /* do new cwnd calculation (required) */ |
655 | void (*cong_avoid)(struct sock *sk, u32 ack, u32 in_flight, int good_ack); | 655 | void (*cong_avoid)(struct sock *sk, u32 ack, u32 in_flight); |
656 | /* call before changing ca_state (optional) */ | 656 | /* call before changing ca_state (optional) */ |
657 | void (*set_state)(struct sock *sk, u8 new_state); | 657 | void (*set_state)(struct sock *sk, u8 new_state); |
658 | /* call when cwnd event occurs (optional) */ | 658 | /* call when cwnd event occurs (optional) */ |
@@ -683,7 +683,7 @@ extern void tcp_slow_start(struct tcp_sock *tp); | |||
683 | 683 | ||
684 | extern struct tcp_congestion_ops tcp_init_congestion_ops; | 684 | extern struct tcp_congestion_ops tcp_init_congestion_ops; |
685 | extern u32 tcp_reno_ssthresh(struct sock *sk); | 685 | extern u32 tcp_reno_ssthresh(struct sock *sk); |
686 | extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 in_flight, int flag); | 686 | extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 in_flight); |
687 | extern u32 tcp_reno_min_cwnd(const struct sock *sk); | 687 | extern u32 tcp_reno_min_cwnd(const struct sock *sk); |
688 | extern struct tcp_congestion_ops tcp_reno; | 688 | extern struct tcp_congestion_ops tcp_reno; |
689 | 689 | ||