diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2008-06-12 15:13:48 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2008-06-12 15:13:48 +0000 |
commit | b20c3776b182bdc029a6ab0f723b1ea14576130c (patch) | |
tree | 08f45923c92aff3f00f069f6dfd7ab12921634ca /sys/netinet/tcp_output.c | |
parent | ef3d51cb652f1f438b01dca29e018e458a1f3274 (diff) |
Remove some crazy #if mess.
ok markus@ henning@
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r-- | sys/netinet/tcp_output.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 3a01b9811f9..2e4480cdbb9 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_output.c,v 1.82 2008/06/12 15:08:47 jsing Exp $ */ +/* $OpenBSD: tcp_output.c,v 1.83 2008/06/12 15:13:47 jsing Exp $ */ /* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */ /* @@ -218,8 +218,6 @@ tcp_output(struct tcpcb *tp) #ifdef TCP_SACK int i, sack_rxmit = 0; struct sackhole *p; -#endif -#if defined(TCP_SACK) int maxburst = TCP_MAXBURST; #endif #ifdef TCP_SIGNATURE @@ -293,9 +291,7 @@ again: (p = tcp_sack_output(tp))) { off = p->rxmit - tp->snd_una; sack_rxmit = 1; -#if 0 /* Coalesce holes into a single retransmission */ -#endif len = min(tp->t_maxseg, p->end - p->rxmit); #ifndef TCP_FACK /* in FACK, hold snd_cwnd constant during recovery */ |