aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/tcp.h2
-rw-r--r--sys/netinet/tcp_output.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h
index f789898e5785..794bfc62eca5 100644
--- a/sys/netinet/tcp.h
+++ b/sys/netinet/tcp.h
@@ -166,8 +166,6 @@ __tcp_set_flags(struct tcphdr *th, uint16_t flags)
#define TCP_MAX_WINSHIFT 14 /* maximum window shift */
-#define TCP_MAXBURST 4 /* maximum segments in a burst */
-
#define TCP_MAXHLEN (0xf<<2) /* max length of header in bytes */
#define TCP_MAXOLEN (TCP_MAXHLEN - sizeof(struct tcphdr))
/* max space left for options */
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 080dabf3232f..fe1f15c26338 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -211,9 +211,6 @@ tcp_default_output(struct tcpcb *tp)
struct tcp_log_buffer *lgb;
unsigned int wanted_cookie = 0;
unsigned int dont_sendalot = 0;
-#if 0
- int maxburst = TCP_MAXBURST;
-#endif
#ifdef INET6
struct ip6_hdr *ip6 = NULL;
const bool isipv6 = (inp->inp_vflag & INP_IPV6) != 0;