diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-26 21:22:15 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-26 21:22:15 +0000 |
commit | c5af0812e5d7d60d182addc4594c42baf2e8b591 (patch) | |
tree | f3b7e8064fa2dac88f6df9c7c5bda683a4ee96fe /sys/dev/isa/if_ex.c | |
parent | fa70810cdbb843b66175fff83a47dc871a8c2780 (diff) |
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.c | 4 |
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; |