The branch main has been updated by jhb:

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

commit c2cd12b7ae28a34e551d1b96906620249a860bc0
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2025-01-14 15:34:45 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2025-01-14 15:34:45 +0000

    cxgbe tom: Make t4_push_frames static to t4_cpl_io.c
    
    This function is not used outside of this file.
    
    Sponsored by:   Chelsio Communications
    Differential Revision:  https://reviews.freebsd.org/D47760
---
 sys/dev/cxgbe/tom/t4_cpl_io.c | 2 +-
 sys/dev/cxgbe/tom/t4_tom.h    | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/dev/cxgbe/tom/t4_cpl_io.c b/sys/dev/cxgbe/tom/t4_cpl_io.c
index 8cafac61fa8b..8547f21586e1 100644
--- a/sys/dev/cxgbe/tom/t4_cpl_io.c
+++ b/sys/dev/cxgbe/tom/t4_cpl_io.c
@@ -633,7 +633,7 @@ write_tx_sgl(void *dst, struct mbuf *start, struct mbuf 
*stop, int nsegs, int n)
  * stalls).  When drop is set this function MUST drop the bytes and wake up any
  * writers.
  */
-void
+static void
 t4_push_frames(struct adapter *sc, struct toepcb *toep, int drop)
 {
        struct mbuf *sndptr, *m, *sb_sndptr;
diff --git a/sys/dev/cxgbe/tom/t4_tom.h b/sys/dev/cxgbe/tom/t4_tom.h
index 1f97dd81a0bc..6295a3484b9f 100644
--- a/sys/dev/cxgbe/tom/t4_tom.h
+++ b/sys/dev/cxgbe/tom/t4_tom.h
@@ -525,7 +525,6 @@ int t4_send_fin(struct toedev *, struct tcpcb *);
 int t4_send_rst(struct toedev *, struct tcpcb *);
 void t4_set_tcb_field(struct adapter *, struct sge_wrq *, struct toepcb *,
     uint16_t, uint64_t, uint64_t, int, int);
-void t4_push_frames(struct adapter *, struct toepcb *, int);
 void t4_push_pdus(struct adapter *, struct toepcb *, int);
 
 /* t4_ddp.c */

Reply via email to