svn commit: r259958 - projects/diffused_head/sys/netpfil/ipfw

Ed Maste emaste at FreeBSD.org
Fri Dec 27 18:00:39 UTC 2013


Author: emaste
Date: Fri Dec 27 18:00:38 2013
New Revision: 259958
URL: http://svnweb.freebsd.org/changeset/base/259958

Log:
  Remove < 0 test of unsigned variable
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/diffused_head/sys/netpfil/ipfw/diffuse_export.c

Modified: projects/diffused_head/sys/netpfil/ipfw/diffuse_export.c
==============================================================================
--- projects/diffused_head/sys/netpfil/ipfw/diffuse_export.c	Fri Dec 27 17:58:13 2013	(r259957)
+++ projects/diffused_head/sys/netpfil/ipfw/diffuse_export.c	Fri Dec 27 18:00:38 2013	(r259958)
@@ -289,9 +289,6 @@ diffuse_export_prune_recs(void)
 	if (V_ex_max_qsize > 65535)
 		V_ex_max_qsize = 65535;
 
-	if (V_ex_max_qsize < 0)
-		V_ex_max_qsize = 0;
-
 	while (di_config.export_rec_count > V_ex_max_qsize) {
 		r = TAILQ_FIRST(&di_config.export_rec_list);
 		remove_rec(r);


More information about the svn-src-projects mailing list