summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-05-06 16:04:36 +0000
committerandre <andre@FreeBSD.org>2007-05-06 16:04:36 +0000
commiteac02dc2370cffab46245d772fb822d3338e55c3 (patch)
treebb99865ab70be51ce9765ca3d8880dc7a2a67303 /sys
parent3d2c0e7f91b15ec970196a3898e0bc4476eb27e3 (diff)
downloadFreeBSD-src-eac02dc2370cffab46245d772fb822d3338e55c3.zip
FreeBSD-src-eac02dc2370cffab46245d772fb822d3338e55c3.tar.gz
Remove unused requested_s_scale from struct tcpcb.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_usrreq.c4
-rw-r--r--sys/netinet/tcp_var.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 38b2928..acda0ec 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1850,8 +1850,8 @@ db_print_tcpcb(struct tcpcb *tp, const char *name, int indent)
tp->snd_scale, tp->rcv_scale, tp->request_r_scale);
db_print_indent(indent);
- db_printf("requested_s_scale: %u ts_recent: %u ts_recent_age: "
- "%lu\n", tp->requested_s_scale, tp->ts_recent, tp->ts_recent_age);
+ db_printf("ts_recent: %u ts_recent_age: %lu\n",
+ tp->ts_recent, tp->ts_recent_age);
db_print_indent(indent);
db_printf("ts_offset: %u last_ack_sent: 0x%08x snd_cwnd_prev: "
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 30b9c83..9a1a400 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -170,7 +170,6 @@ struct tcpcb {
u_char snd_scale; /* window scaling for send window */
u_char rcv_scale; /* window scaling for recv window */
u_char request_r_scale; /* pending window scaling */
- u_char requested_s_scale; /* unused, to be reused later */
u_int32_t ts_recent; /* timestamp echo data */
u_long ts_recent_age; /* when last updated */
u_int32_t ts_offset; /* our timestamp offset */
OpenPOWER on IntegriCloud