Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa remove unused
details: https://anonhg.NetBSD.org/src/rev/c75d901cdc09
branches: trunk
changeset: 790770:c75d901cdc09
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 20 17:16:57 2013 +0000
description:
remove unused
diffstat:
sys/lib/libsa/netif.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 067930062636 -r c75d901cdc09 sys/lib/libsa/netif.c
--- a/sys/lib/libsa/netif.c Sun Oct 20 17:15:42 2013 +0000
+++ b/sys/lib/libsa/netif.c Sun Oct 20 17:16:57 2013 +0000
@@ -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 @@
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 @@
for (u = 0; u < drv->netif_nifs; u++) {
cur_if.nif_unit = u;
- unit_done = 0;
#ifdef NETIF_DEBUG
if (netif_debug)
Home |
Main Index |
Thread Index |
Old Index