Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2025 20:07:16 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 986dc9143d91 - main - pf: remove unused function
Message-ID:  <202502052007.515K7GdR007850@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

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

commit 986dc9143d918f9bff4a06f8b9f24672567aa70d
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-02-03 14:12:22 +0000
Commit:     Kristof Provost <kp@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)
 {



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