From eac02dc2370cffab46245d772fb822d3338e55c3 Mon Sep 17 00:00:00 2001 From: andre Date: Sun, 6 May 2007 16:04:36 +0000 Subject: Remove unused requested_s_scale from struct tcpcb. --- sys/netinet/tcp_usrreq.c | 4 ++-- sys/netinet/tcp_var.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/netinet') 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 */ -- cgit v1.1