git: 87c503235310 - main - libpfctl: remove unused field from struct pfctl_states
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Oct 2023 20:00:42 UTC
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 {