Module Name: src
Committed By: christos
Date: Sun Oct 20 17:16:57 UTC 2013
Modified Files:
src/sys/lib/libsa: netif.c
Log Message:
remove unused
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/lib/libsa/netif.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libsa/netif.c
diff -u src/sys/lib/libsa/netif.c:1.24 src/sys/lib/libsa/netif.c:1.25
--- src/sys/lib/libsa/netif.c:1.24 Sat Jan 17 09:00:36 2009
+++ src/sys/lib/libsa/netif.c Sun Oct 20 13:16:57 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: netif.c,v 1.24 2009/01/17 14:00:36 tsutsui Exp $ */
+/* $NetBSD: netif.c,v 1.25 2013/10/20 17:16:57 christos Exp $ */
/*
* Copyright (c) 1993 Adam Glass
@@ -92,7 +92,7 @@ netif_match(struct netif *nif, void *mac
struct netif *
netif_select(void *machdep_hint)
{
- int d, u, unit_done, s;
+ int d, u, s;
struct netif_driver *drv;
struct netif cur_if;
static struct netif best_if;
@@ -113,7 +113,6 @@ netif_select(void *machdep_hint)
for (u = 0; u < drv->netif_nifs; u++) {
cur_if.nif_unit = u;
- unit_done = 0;
#ifdef NETIF_DEBUG
if (netif_debug)