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/elink.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/elink.c')
-rw-r--r-- | sys/dev/isa/elink.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/isa/elink.c b/sys/dev/isa/elink.c index 2ae326fba4a..d51418ff26c 100644 --- a/sys/dev/isa/elink.c +++ b/sys/dev/isa/elink.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elink.c,v 1.5 1997/11/07 08:06:45 niklas Exp $ */ +/* $OpenBSD: elink.c,v 1.6 2004/12/26 21:22:13 miod Exp $ */ /* $NetBSD: elink.c,v 1.9 1996/05/03 19:06:27 christos Exp $ */ /* @@ -80,8 +80,7 @@ elink_reset(iot, ioh, bus) /* * Reset these cards if we haven't done so already. */ - for (er = elink_all_resets.lh_first; er != NULL; - er = er->er_link.le_next) + LIST_FOREACH(er, &elink_all_resets, er_link) if (er->er_bus == bus) goto out; |