summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/if_ex.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-12-26 21:22:11 +0000
committermiod <miod@openbsd.org>2004-12-26 21:22:11 +0000
commit9d08f8e56428da94db79b31da31f4e37cb4022b7 (patch)
tree85404d1033f1e95cb08994035802c1e568059230 /sys/dev/isa/if_ex.c
parentRemove duplicate definition of LONG_DOUBLE_TYPE_SIZE, and shrink WINT_TYPE (diff)
downloadwireguard-openbsd-9d08f8e56428da94db79b31da31f4e37cb4022b7.tar.xz
wireguard-openbsd-9d08f8e56428da94db79b31da31f4e37cb4022b7.zip
Use list and queue macros where applicable to make the code easier to read;
no change in compiler assembly output.
Diffstat (limited to 'sys/dev/isa/if_ex.c')
-rw-r--r--sys/dev/isa/if_ex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c
index a1dde5d8d90..e0dd38e58ff 100644
--- a/sys/dev/isa/if_ex.c
+++ b/sys/dev/isa/if_ex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ex.c,v 1.9 2004/09/23 17:45:16 brad Exp $ */
+/* $OpenBSD: if_ex.c,v 1.10 2004/12/26 21:22:13 miod Exp $ */
/*
* Copyright (c) 1997, Donald A. Schmidt
* Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es)
@@ -326,7 +326,7 @@ ex_init(sc)
DODEBUG(Start_End, printf("ex_init: start\n"););
- if (ifp->if_addrlist.tqh_first == NULL)
+ if (TAILQ_EMPTY(&ifp->if_addrlist))
return;
s = splimp();
sc->arpcom.ac_if.if_timer = 0;