Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2023 15:11:05 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 17d019fba6a3 - stable/13 - libpfctl: remove unused field from struct pfctl_states
Message-ID:  <202311021511.3A2FB5fX088540@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=17d019fba6a3ea2243b56341cd40b98f8fa9ff7c

commit 17d019fba6a3ea2243b56341cd40b98f8fa9ff7c
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-10-30 18:04:12 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-11-02 08:48:54 +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")
    
    (cherry picked from commit 87c5032353106764f324e82541662f448e68f38a)
---
 lib/libpfctl/libpfctl.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/libpfctl/libpfctl.h b/lib/libpfctl/libpfctl.h
index c32cee523d05..32cd408c5919 100644
--- a/lib/libpfctl/libpfctl.h
+++ b/lib/libpfctl/libpfctl.h
@@ -273,7 +273,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?202311021511.3A2FB5fX088540>