Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2011 21:00:56 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228881 - head/sys/dev/netmap
Message-ID:  <201112252100.pBPL0uR1075509@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



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