From b2b66256afa100c0c0a7e083c91e1ed2b07cb610 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Thu, 13 Feb 2014 09:20:08 +0000 Subject: 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@ --- sys/arch/vax/if/if_de.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys') 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) { -- cgit v1.2.3