Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2023 20:00:42 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: 87c503235310 - main - libpfctl: remove unused field from struct pfctl_states
Message-ID:  <202310302000.39UK0gA0038565@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=87c5032353106764f324e82541662f448e68f38a

commit 87c5032353106764f324e82541662f448e68f38a
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-10-30 18:04:12 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-10-30 18:05:03 +0000

    libpfctl: remove unused field from struct pfctl_states
    
    We never populate this, or use it, so remove it.
    
    MFC after:      3 days
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 lib/libpfctl/libpfctl.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/libpfctl/libpfctl.h b/lib/libpfctl/libpfctl.h
index 5e304ac56dd8..31b4b444ba64 100644
--- a/lib/libpfctl/libpfctl.h
+++ b/lib/libpfctl/libpfctl.h
@@ -369,7 +369,6 @@ struct pfctl_state {
 TAILQ_HEAD(pfctl_statelist, pfctl_state);
 struct pfctl_states {
 	struct pfctl_statelist	states;
-	size_t 			count;
 };
 
 enum pfctl_syncookies_mode {



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