diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2026-06-21 16:19:22 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2026-06-25 19:34:05 +0000 |
| commit | efcc183f9b0dad94b7e954556e6e2515ec0f85be (patch) | |
| tree | 6a2289d3335e6d24ada0e28c8831e85c74819185 | |
| parent | 4e57c2aa307d34ca6e44f01c6fd671734ed5e486 (diff) | |
pflog: remove unused argument from pflogattach()
| -rw-r--r-- | sys/netpfil/pf/if_pflog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netpfil/pf/if_pflog.c b/sys/netpfil/pf/if_pflog.c index cb96d2fcc44c..4167c7818415 100644 --- a/sys/netpfil/pf/if_pflog.c +++ b/sys/netpfil/pf/if_pflog.c @@ -87,7 +87,7 @@ static int pflogoutput(struct ifnet *, struct mbuf *, const struct sockaddr *, struct route *); -static void pflogattach(int); +static void pflogattach(void); static int pflogifs_resize(size_t); static int pflogioctl(struct ifnet *, u_long, caddr_t); static void pflogstart(struct ifnet *); @@ -106,7 +106,7 @@ VNET_DEFINE(struct ifnet **, pflogifs); /* for fast access */ #define V_pflogifs VNET(pflogifs) static void -pflogattach(int npflog __unused) +pflogattach(void) { struct if_clone_addreq req = { .create_f = pflog_clone_create, @@ -316,7 +316,7 @@ static void vnet_pflog_init(const void *unused __unused) { - pflogattach(1); + pflogattach(); } VNET_SYSINIT(vnet_pflog_init, SI_SUB_PROTO_FIREWALL, SI_ORDER_ANY, vnet_pflog_init, NULL); |
