git: 7cbaab712f98 - main - pf: remove unused struct definition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Jan 2024 13:04:22 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=7cbaab712f98f868a1f069c00bdf705f77b06f6a
commit 7cbaab712f98f868a1f069c00bdf705f77b06f6a
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2024-01-09 16:02:50 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-01-15 13:02:02 +0000
pf: remove unused struct definition
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/netpfil/pf/pf_nl.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/sys/netpfil/pf/pf_nl.c b/sys/netpfil/pf/pf_nl.c
index 4cda42404400..23c4249714fe 100644
--- a/sys/netpfil/pf/pf_nl.c
+++ b/sys/netpfil/pf/pf_nl.c
@@ -646,10 +646,6 @@ pf_handle_addrule(struct nlmsghdr *hdr, struct nl_pstate *npt)
return (error);
}
-struct nl_parsed_getrules {
- char *anchor;
- uint8_t action;
-};
#define _IN(_field) offsetof(struct genlmsghdr, _field)
#define _OUT(_field) offsetof(struct pfioc_rule, _field)
static const struct nlattr_parser nla_p_getrules[] = {