git: 5e3bb0514781 - main - pfctl: remove unneeded includes

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Sat, 22 Apr 2023 17:44:28 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=5e3bb05147816885f1cf25c8cfc03ceec3fa376d

commit 5e3bb05147816885f1cf25c8cfc03ceec3fa376d
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-04-21 09:31:44 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-04-22 17:43:55 +0000

    pfctl: remove unneeded includes
    
    We don't use nvlists (directly) or sysctls, so there's no need to
    include the headers.
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sbin/pfctl/pfctl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index b5ef07064fb9..09f29b1c601c 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$");
 
 #include <sys/types.h>
 #include <sys/ioctl.h>
-#include <sys/nv.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
 #include <sys/endian.h>
@@ -50,7 +49,6 @@ __FBSDID("$FreeBSD$");
 #include <net/pfvar.h>
 #include <arpa/inet.h>
 #include <net/altq/altq.h>
-#include <sys/sysctl.h>
 
 #include <err.h>
 #include <errno.h>