The branch main has been updated by kp:

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

commit 986dc9143d918f9bff4a06f8b9f24672567aa70d
Author:     Kristof Provost <k...@freebsd.org>
AuthorDate: 2025-02-03 14:12:22 +0000
Commit:     Kristof Provost <k...@freebsd.org>
CommitDate: 2025-02-05 20:06:54 +0000

    pf: remove unused function
    
    No functional change.
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/netpfil/pf/pf_norm.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/sys/netpfil/pf/pf_norm.c b/sys/netpfil/pf/pf_norm.c
index 39afde04a6d1..f096ea9e493f 100644
--- a/sys/netpfil/pf/pf_norm.c
+++ b/sys/netpfil/pf/pf_norm.c
@@ -315,19 +315,6 @@ pf_find_fragment(struct pf_fragment_cmp *key, struct 
pf_frag_tree *tree)
        return (frag);
 }
 
-/* Removes a fragment from the fragment queue and frees the fragment */
-static void
-pf_remove_fragment(struct pf_fragment *frag)
-{
-
-       PF_FRAG_ASSERT();
-       KASSERT(frag, ("frag != NULL"));
-
-       RB_REMOVE(pf_frag_tree, &V_pf_frag_tree, frag);
-       TAILQ_REMOVE(&V_pf_fragqueue, frag, frag_next);
-       uma_zfree(V_pf_frag_z, frag);
-}
-
 static struct pf_frent *
 pf_create_fragment(u_short *reason)
 {

Reply via email to