git: 17d019fba6a3 - stable/13 - libpfctl: remove unused field from struct pfctl_states

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Thu, 02 Nov 2023 15:11:05 UTC
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 {