git: 2107407b25ee - stable/12 - pf: Remove duplicate declaration of pf_ioctl_maxcount.

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Mon, 22 Nov 2021 01:54:23 UTC
The branch stable/12 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=2107407b25eeeab89556c36ad789a4b23ec9a5f7

commit 2107407b25eeeab89556c36ad789a4b23ec9a5f7
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-09-15 16:03:18 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-11-22 01:53:41 +0000

    pf: Remove duplicate declaration of pf_ioctl_maxcount.
    
    Fixes a -Wredundant-decls warning with GCC 9.
    
    Reviewed by:    kp
    Differential Revision:  https://reviews.freebsd.org/D31944
    
    (cherry picked from commit df005aa9b3d8d5bf78bff749b261e9ae5bea80a3)
---
 sys/netpfil/pf/pf_ioctl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c
index ff7e4d4235a6..f5d7626c6754 100644
--- a/sys/netpfil/pf/pf_ioctl.c
+++ b/sys/netpfil/pf/pf_ioctl.c
@@ -274,8 +274,6 @@ pfsync_detach_ifnet_t *pfsync_detach_ifnet_ptr;
 /* pflog */
 pflog_packet_t			*pflog_packet_ptr = NULL;
 
-extern u_long	pf_ioctl_maxcount;
-
 #define	ERROUT_FUNCTION(target, x)					\
 	do {								\
 		error = (x);						\