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

(cherry picked from commit 8e907391b74c6ccb6a6925638383e7b82fc9371a)
This commit is contained in:
Gleb Smirnoff 2023-12-04 10:19:46 -08:00
parent a74aa0e589
commit fee8f540da

View file

@ -4316,9 +4316,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;