diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-25 23:02:27 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-12-25 23:02:27 +0000 |
commit | f817c58ea799274eb832d25dc61acb5955f9b2d9 (patch) | |
tree | d81a72a842cf99a20e3b22543a17b8e53ad25961 /sys/arch/i386/isa/ahc_isa.c | |
parent | f1b1a2a9897fb5e4903d7922e7d05f99ad07b847 (diff) |
Use list and queue macros where applicable to make the code easier to read;
no functional change.
Diffstat (limited to 'sys/arch/i386/isa/ahc_isa.c')
-rw-r--r-- | sys/arch/i386/isa/ahc_isa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/ahc_isa.c b/sys/arch/i386/isa/ahc_isa.c index c385c554cf6..c2c0ad8a608 100644 --- a/sys/arch/i386/isa/ahc_isa.c +++ b/sys/arch/i386/isa/ahc_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahc_isa.c,v 1.13 2004/08/01 01:36:23 krw Exp $ */ +/* $OpenBSD: ahc_isa.c,v 1.14 2004/12/25 23:02:24 miod Exp $ */ /* $NetBSD: ahc_isa.c,v 1.5 1996/10/21 22:27:39 thorpej Exp $ */ /* @@ -309,8 +309,7 @@ ahc_isa_probe(parent, match, aux) * Find this bus's state. If we don't yet have a slot * marker, allocate and initialize one. */ - for (as = ahc_isa_all_slots.lh_first; as != NULL; - as = as->link.le_next) + LIST_FOREACH(as, &ahc_isa_all_slots, link) if (as->bus == parent->dv_unit) goto found_slot_marker; |