summaryrefslogtreecommitdiff
path: root/sys/arch/vax/if
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-12-25 23:02:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-12-25 23:02:27 +0000
commitf817c58ea799274eb832d25dc61acb5955f9b2d9 (patch)
treed81a72a842cf99a20e3b22543a17b8e53ad25961 /sys/arch/vax/if
parentf1b1a2a9897fb5e4903d7922e7d05f99ad07b847 (diff)
Use list and queue macros where applicable to make the code easier to read;
no functional change.
Diffstat (limited to 'sys/arch/vax/if')
-rw-r--r--sys/arch/vax/if/if_de.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/if/if_de.c b/sys/arch/vax/if/if_de.c
index 3b4a4ec94d5..fba8c7ebf4f 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.15 2004/09/15 17:46:43 grange Exp $ */
+/* $OpenBSD: if_de.c,v 1.16 2004/12/25 23:02:25 miod Exp $ */
/* $NetBSD: if_de.c,v 1.27 1997/04/19 15:02:29 ragge Exp $ */
/*
@@ -256,7 +256,7 @@ deinit(ds)
int s,incaddr;
/* not yet, if address still unknown */
- if (ifp->if_addrlist.tqh_first == (struct ifaddr *)0)
+ if (TAILQ_EMPTY(&ifp->if_addrlist))
return;
if (ds->ds_flags & DSF_RUNNING)