git: 3a609881c8c8 - main - pf: remove unused function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Jan 2026 08:06:20 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=3a609881c8c8cbd5f4c765b27b8233ab08342309
commit 3a609881c8c8cbd5f4c765b27b8233ab08342309
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-01-13 19:32:37 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-01-14 06:44:44 +0000
pf: remove unused function
pf_qid2qname() was never used. Remove it
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/netpfil/pf/pf_ioctl.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c
index 5261b6e5ab41..12a2189207f1 100644
--- a/sys/netpfil/pf/pf_ioctl.c
+++ b/sys/netpfil/pf/pf_ioctl.c
@@ -976,12 +976,6 @@ pf_qname2qid(const char *qname, bool add_new)
return (tagname2tag(&V_pf_qids, qname, add_new));
}
-static const char *
-pf_qid2qname(uint16_t qid)
-{
- return (tag2tagname(&V_pf_qids, qid));
-}
-
static void
pf_qid_unref(uint16_t qid)
{