diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-06-20 16:36:38 -0400 | 
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-06-20 16:36:38 -0400 | 
| commit | 75ba632a01d4dc70d0a0f3a92b5ec9b4a3644b2d (patch) | |
| tree | c2f02ee30609d0d69308b4ca80d68d02a5f85552 /net/ipv4/tcp_htcp.c | |
| parent | 0fd1ffe0633b4b039b343b753598e6df435e034d (diff) | |
| parent | 25f42b6af09e34c3f92107b36b5aa6edc2fdba2f (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'net/ipv4/tcp_htcp.c')
| -rw-r--r-- | net/ipv4/tcp_htcp.c | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/net/ipv4/tcp_htcp.c b/net/ipv4/tcp_htcp.c index 1b2ff53f98ed..3d92c1859267 100644 --- a/net/ipv4/tcp_htcp.c +++ b/net/ipv4/tcp_htcp.c | |||
| @@ -246,14 +246,6 @@ static void htcp_cong_avoid(struct sock *sk, u32 ack, u32 rtt, | |||
| 246 | } | 246 | } | 
| 247 | } | 247 | } | 
| 248 | 248 | ||
| 249 | /* Lower bound on congestion window. */ | ||
| 250 | static u32 htcp_min_cwnd(struct sock *sk) | ||
| 251 | { | ||
| 252 | const struct tcp_sock *tp = tcp_sk(sk); | ||
| 253 | return tp->snd_ssthresh; | ||
| 254 | } | ||
| 255 | |||
| 256 | |||
| 257 | static void htcp_init(struct sock *sk) | 249 | static void htcp_init(struct sock *sk) | 
| 258 | { | 250 | { | 
| 259 | struct htcp *ca = inet_csk_ca(sk); | 251 | struct htcp *ca = inet_csk_ca(sk); | 
| @@ -285,7 +277,6 @@ static void htcp_state(struct sock *sk, u8 new_state) | |||
| 285 | static struct tcp_congestion_ops htcp = { | 277 | static struct tcp_congestion_ops htcp = { | 
| 286 | .init = htcp_init, | 278 | .init = htcp_init, | 
| 287 | .ssthresh = htcp_recalc_ssthresh, | 279 | .ssthresh = htcp_recalc_ssthresh, | 
| 288 | .min_cwnd = htcp_min_cwnd, | ||
| 289 | .cong_avoid = htcp_cong_avoid, | 280 | .cong_avoid = htcp_cong_avoid, | 
| 290 | .set_state = htcp_state, | 281 | .set_state = htcp_state, | 
| 291 | .undo_cwnd = htcp_cwnd_undo, | 282 | .undo_cwnd = htcp_cwnd_undo, | 
