svn commit: r228881 - head/sys/dev/netmap

Luigi Rizzo luigi at FreeBSD.org
Sun Dec 25 21:00:57 UTC 2011


Author: luigi
Date: Sun Dec 25 21:00:56 2011
New Revision: 228881
URL: http://svn.freebsd.org/changeset/base/228881

Log:
  remove a variable definition which shadows the correct one.
  
  Submitted by:	Eitan Adler

Modified:
  head/sys/dev/netmap/if_igb_netmap.h

Modified: head/sys/dev/netmap/if_igb_netmap.h
==============================================================================
--- head/sys/dev/netmap/if_igb_netmap.h	Sun Dec 25 20:59:39 2011	(r228880)
+++ head/sys/dev/netmap/if_igb_netmap.h	Sun Dec 25 21:00:56 2011	(r228881)
@@ -168,7 +168,6 @@ igb_netmap_txsync(void *a, u_int ring_nr
 	j = kring->nr_hwcur; /* netmap ring index */
 	if (j != k) {	/* we have new packets to send */
 		u32 olinfo_status = 0;
-		int n = 0;
 
 		l = j - kring->nkr_hwofs; /* NIC ring index */
 		if (l < 0)


More information about the svn-src-all mailing list