The branch main has been updated by tuexen:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3ad8fd6f30466789111e088c16fcab4d94f63232

commit 3ad8fd6f30466789111e088c16fcab4d94f63232
Author:     Nick Banks <nickba...@netflix.com>
AuthorDate: 2025-07-20 12:37:42 +0000
Commit:     Michael Tuexen <tue...@freebsd.org>
CommitDate: 2025-07-20 12:37:42 +0000

    tcp hpts: remove unused line argument from tcp_set_hpts
    
    Reviewed by:    tuexen
    MFC after:      1 week
    Sponsored by:   Netflix, Inc.
---
 sys/netinet/tcp_hpts.c | 2 +-
 sys/netinet/tcp_hpts.h | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys/netinet/tcp_hpts.c b/sys/netinet/tcp_hpts.c
index 3b92a3d08f51..b60cdf45af52 100644
--- a/sys/netinet/tcp_hpts.c
+++ b/sys/netinet/tcp_hpts.c
@@ -1486,7 +1486,7 @@ no_run:
 }
 
 void
-__tcp_set_hpts(struct tcpcb *tp, int32_t line)
+tcp_set_hpts(struct tcpcb *tp)
 {
        struct tcp_hpts_entry *hpts;
        int failed;
diff --git a/sys/netinet/tcp_hpts.h b/sys/netinet/tcp_hpts.h
index a623d959db9a..f5856ed8e688 100644
--- a/sys/netinet/tcp_hpts.h
+++ b/sys/netinet/tcp_hpts.h
@@ -149,8 +149,7 @@ uint32_t tcp_hpts_insert_diag(struct tcpcb *tp, uint32_t 
slot, int32_t line,
 #define        tcp_hpts_insert(inp, slot)      \
        tcp_hpts_insert_diag((inp), (slot), __LINE__, NULL)
 
-void __tcp_set_hpts(struct tcpcb *tp, int32_t line);
-#define tcp_set_hpts(a) __tcp_set_hpts(a, __LINE__)
+void tcp_set_hpts(struct tcpcb *tp);
 
 void tcp_set_inp_to_drop(struct inpcb *inp, uint16_t reason);
 

Reply via email to