diff options
author | luigi <luigi@FreeBSD.org> | 2011-12-25 21:00:56 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2011-12-25 21:00:56 +0000 |
commit | 2b2ec0682ddca119928214a726c44ae7e2c08c86 (patch) | |
tree | 34dcd298ce5920172dc70713afa0c97fdd41c8e1 | |
parent | 64fa7f57154701902c3581f000fa00d4613f1adc (diff) | |
download | FreeBSD-src-2b2ec0682ddca119928214a726c44ae7e2c08c86.zip FreeBSD-src-2b2ec0682ddca119928214a726c44ae7e2c08c86.tar.gz |
remove a variable definition which shadows the correct one.
Submitted by: Eitan Adler
-rw-r--r-- | sys/dev/netmap/if_igb_netmap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/netmap/if_igb_netmap.h b/sys/dev/netmap/if_igb_netmap.h index c048ec4..5e41742 100644 --- a/sys/dev/netmap/if_igb_netmap.h +++ b/sys/dev/netmap/if_igb_netmap.h @@ -168,7 +168,6 @@ igb_netmap_txsync(void *a, u_int ring_nr, int do_lock) 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) |