diff options
-rw-r--r-- | usr/src/boot/lib/libstand/netif.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/boot/lib/libstand/netif.c b/usr/src/boot/lib/libstand/netif.c index e5eb603e5e..51bc5aa125 100644 --- a/usr/src/boot/lib/libstand/netif.c +++ b/usr/src/boot/lib/libstand/netif.c @@ -90,7 +90,7 @@ netif_match(struct netif *nif, void *machdep_hint) 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; @@ -106,8 +106,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) printf("\t%s%d:", drv->netif_bname, |