Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2026 08:06:20 +0000
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: 3a609881c8c8 - main - pf: remove unused function
Message-ID:  <69674e7c.c12d.37c16ecf@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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)
 {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69674e7c.c12d.37c16ecf>