git: 8e907391b74c - main - hpts: don't ifdef tcp_in_hpts()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Dec 2023 18:59:27 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=8e907391b74c6ccb6a6925638383e7b82fc9371a
commit 8e907391b74c6ccb6a6925638383e7b82fc9371a
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2023-12-04 18:19:46 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2023-12-04 18:19:46 +0000
hpts: don't ifdef tcp_in_hpts()
This small inline function is always available.
Reviewed by: imp, tuexen, rrs
Differential Revision: https://reviews.freebsd.org/D42855
---
sys/netinet/tcp_subr.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 3354a0bcca39..cfbf32a40d86 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -4314,9 +4314,7 @@ tcp_req_log_req_info(struct tcpcb *tp, struct tcp_sendfile_track *req,
struct timeval tv;
memset(&log.u_bbr, 0, sizeof(log.u_bbr));
-#ifdef TCPHPTS
log.u_bbr.inhpts = tcp_in_hpts(tp);
-#endif
log.u_bbr.flex8 = val;
log.u_bbr.rttProp = req->timestamp;
log.u_bbr.delRate = req->start;