Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 18:04:09 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r328204 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet
Message-ID:  <201801201804.w0KI49QA041220@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Sat Jan 20 18:04:08 2018
New Revision: 328204
URL: https://svnweb.freebsd.org/changeset/base/328204

Log:
  MFC r327913:
  
  Remove redundant variable.

Modified:
  stable/10/sys/contrib/ipfilter/netinet/radix_ipf.c
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/contrib/ipfilter/netinet/radix_ipf.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/10/sys/contrib/ipfilter/netinet/radix_ipf.c
==============================================================================
--- stable/10/sys/contrib/ipfilter/netinet/radix_ipf.c	Sat Jan 20 18:00:42 2018	(r328203)
+++ stable/10/sys/contrib/ipfilter/netinet/radix_ipf.c	Sat Jan 20 18:04:08 2018	(r328204)
@@ -101,7 +101,6 @@ buildnodes(addr, mask, nodes)
 	ipf_rdx_node_t nodes[2];
 {
 	u_32_t maskbits;
-	u_32_t lastbits;
 	u_32_t lastmask;
 	u_32_t *last;
 	int masklen;
@@ -115,7 +114,6 @@ buildnodes(addr, mask, nodes)
 		masklen = last - (u_32_t *)mask;
 		lastmask = *last;
 	}
-	lastbits = maskbits & 0x1f;
 
 	bzero(&nodes[0], sizeof(ipf_rdx_node_t) * 2);
 	nodes[0].maskbitcount = maskbits;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801201804.w0KI49QA041220>