socsvn commit: r271613 - soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw

dpl at FreeBSD.org dpl at FreeBSD.org
Wed Jul 30 17:42:15 UTC 2014


Author: dpl
Date: Wed Jul 30 17:42:14 2014
New Revision: 271613
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271613

Log:
  Deleted unneeded variable for loop.

Modified:
  soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc

Modified: soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc
==============================================================================
--- soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc	Wed Jul 30 17:40:55 2014	(r271612)
+++ soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc	Wed Jul 30 17:42:14 2014	(r271613)
@@ -86,8 +86,7 @@
 			// as a parameter in this.
 			v = B.CreateAlloca(regTy);
 			B.CreateStore(args++, v);
-
-			// Create a load of pointers to the global registers.
+// Create a load of pointers to the global registers.
 			Value *gArg = args;
 			for (int i=0 ; i<10 ; i++)
 			{
@@ -134,7 +133,6 @@
 	// Iterate through the rules.
 	for (; f_pos < chain->n_rules; f_pos++) {
 		ipfw_insn *cmd;
-		uint32_t tablearg = 0;
 		int l, cmdlen, skip_or; /* skip rest of OR block */
 		struct ip_fw *f;
 


More information about the svn-soc-all mailing list