git: 7d4369a1e723 - stable/12 - ipft_hx: remove set-but-not-unused vars

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 14 Dec 2021 01:22:05 UTC
The branch stable/12 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=7d4369a1e72375235ca7bd75b4e0b24d20e5b190

commit 7d4369a1e72375235ca7bd75b4e0b24d20e5b190
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-12-11 04:46:11 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-14 01:18:37 +0000

    ipft_hx: remove set-but-not-unused vars
    
    (cherry picked from commit ece1946c1fbd8d42d621fd59028488a3e71aae65)
---
 contrib/ipfilter/lib/ipft_hx.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/contrib/ipfilter/lib/ipft_hx.c b/contrib/ipfilter/lib/ipft_hx.c
index 0165d0b092f7..e424c3929c79 100644
--- a/contrib/ipfilter/lib/ipft_hx.c
+++ b/contrib/ipfilter/lib/ipft_hx.c
@@ -65,10 +65,8 @@ static	int	hex_readip(mb, ifn, dir)
 	char	line[513];
 	ip_t	*ip;
 	char	*buf;
-	int	cnt;
 
 	buf = (char *)mb->mb_buf;
-	cnt = sizeof(mb->mb_buf);
 	/*
 	 * interpret start of line as possibly "[ifname]" or
 	 * "[in/out,ifname]".