git: 1b5895c624f0 - main - tcp: remove a 4.4BSD relic
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Dec 2022 04:21:52 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=1b5895c624f048dcd6e2d9dbafa509846ddd8b66
commit 1b5895c624f048dcd6e2d9dbafa509846ddd8b66
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2022-12-14 04:21:45 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2022-12-14 04:21:45 +0000
tcp: remove a 4.4BSD relic
The actual code to modify this counter was disabled in 2c37256e5a59
and later removed in d0390e0570c.
---
sys/netinet/tcp_fsm.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/sys/netinet/tcp_fsm.h b/sys/netinet/tcp_fsm.h
index ecef72fef26e..b449727836cf 100644
--- a/sys/netinet/tcp_fsm.h
+++ b/sys/netinet/tcp_fsm.h
@@ -86,10 +86,6 @@ static u_char tcp_outflags[TCP_NSTATES] = {
};
#endif
-#ifdef KPROF
-int tcp_acounts[TCP_NSTATES][PRU_NREQ];
-#endif
-
#ifdef TCPSTATES
static char const * const tcpstates[] = {
"CLOSED", "LISTEN", "SYN_SENT", "SYN_RCVD",