diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-02-13 09:20:08 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-02-13 09:20:08 +0000 |
commit | b2b66256afa100c0c0a7e083c91e1ed2b07cb610 (patch) | |
tree | c3b7a04e88881f2bdcb10c7b7d4f7a364cc1f4bc | |
parent | 1bc268db70b05f01f5fd862b78de70a1ba85c1d0 (diff) |
Checking if the per-interface address list is empty when configuring
the chip is always false, so remove this no-op. In fact this list
contains the link-layer address as soon as the device attachs.
ok miod@
-rw-r--r-- | sys/arch/vax/if/if_de.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/vax/if/if_de.c b/sys/arch/vax/if/if_de.c index 7272eb945c3..dfa91417a6a 100644 --- a/sys/arch/vax/if/if_de.c +++ b/sys/arch/vax/if/if_de.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_de.c,v 1.23 2013/08/08 19:51:18 bluhm Exp $ */ +/* $OpenBSD: if_de.c,v 1.24 2014/02/13 09:20:07 mpi Exp $ */ /* $NetBSD: if_de.c,v 1.27 1997/04/19 15:02:29 ragge Exp $ */ /* @@ -249,10 +249,6 @@ deinit(ds) struct de_ring *rp; int s,incaddr; - /* not yet, if address still unknown */ - if (TAILQ_EMPTY(&ifp->if_addrlist)) - return; - if (ds->ds_flags & DSF_RUNNING) return; if ((ifp->if_flags & IFF_RUNNING) == 0) { |