Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2025 17:19:20 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 08f22bb41f08 - stable/14 - cxgbe tom: Make t4_push_frames static to t4_cpl_io.c
Message-ID:  <202502271719.51RHJKGC056810@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by jhb:

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

commit 08f22bb41f08b8f8344eb92ac4c44bf085ae6187
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-01-14 15:34:45 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-02-27 17:17:51 +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
    
    (cherry picked from commit c2cd12b7ae28a34e551d1b96906620249a860bc0)
---
 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 0a40bbda3f3f..836d32360b1e 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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502271719.51RHJKGC056810>