git: 665b1d553afb - stable/12 - ipft_tx: remove set-but-not-unused vars

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

URL: https://cgit.FreeBSD.org/src/commit/?id=665b1d553afb6cc45a9fc791f7360c297de34d1e

commit 665b1d553afb6cc45a9fc791f7360c297de34d1e
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-12-11 04:49:22 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-14 01:19:12 +0000

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

diff --git a/contrib/ipfilter/lib/ipft_tx.c b/contrib/ipfilter/lib/ipft_tx.c
index 49d7cb2b8c5c..3499afedf854 100644
--- a/contrib/ipfilter/lib/ipft_tx.c
+++ b/contrib/ipfilter/lib/ipft_tx.c
@@ -122,10 +122,8 @@ static	int	text_readip(mb, ifn, dir)
 	char	line[513];
 	ip_t	*ip;
 	char	*buf;
-	int	cnt;
 
 	buf = (char *)mb->mb_buf;
-	cnt = sizeof(mb->mb_buf);
 
 	*ifn = NULL;
 	while (fgets(line, sizeof(line)-1, tfp)) {