git: e158fa4c54d6 - stable/14 - libpfctl: remove unused field from struct pfctl_states
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Nov 2023 15:11:04 UTC
The branch stable/14 has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=e158fa4c54d67b4c35d523c959196b2ff2c28cd4
commit e158fa4c54d67b4c35d523c959196b2ff2c28cd4
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-10-30 18:04:12 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-11-02 15:10:00 +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 7fe035f94cee..f436e722496f 100644
--- a/lib/libpfctl/libpfctl.h
+++ b/lib/libpfctl/libpfctl.h
@@ -368,7 +368,6 @@ struct pfctl_state {
TAILQ_HEAD(pfctl_statelist, pfctl_state);
struct pfctl_states {
struct pfctl_statelist states;
- size_t count;
};
enum pfctl_syncookies_mode {