diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-03-05 21:48:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-03-05 21:48:58 +0000 |
commit | 52f635294dc2220b27898d3db1703c9464b92fb1 (patch) | |
tree | 5c2d6cca90a4bcc953c4c704201e7c2d7c08188e /sys/dev/isa/if_trtcm_isa.c | |
parent | 84fa77ca902d7934ca42a7fdd806497b643a8421 (diff) |
Use more queue macros rather than doing it by hand; ok otto@ krw@
Diffstat (limited to 'sys/dev/isa/if_trtcm_isa.c')
-rw-r--r-- | sys/dev/isa/if_trtcm_isa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/isa/if_trtcm_isa.c b/sys/dev/isa/if_trtcm_isa.c index 98bf3ea64bc..7dcd8c20f4a 100644 --- a/sys/dev/isa/if_trtcm_isa.c +++ b/sys/dev/isa/if_trtcm_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_trtcm_isa.c,v 1.3 2002/03/14 01:26:56 millert Exp $ */ +/* $OpenBSD: if_trtcm_isa.c,v 1.4 2006/03/05 21:48:56 miod Exp $ */ /* $NetBSD: if_trtcm_isa.c,v 1.3 1999/04/30 15:29:24 bad Exp $ */ #undef TRTCMISADEBUG @@ -227,8 +227,7 @@ trtcm_isa_probe(parent, match, aux) /* * Probe this bus if we haven't done so already. */ - for (tcm = tcm_isa_all_probes.lh_first; tcm != NULL; - tcm = tcm->tcm_link.le_next) + LIST_FOREACH(tcm, &tcm_isa_all_probes, tcm_link) if (tcm->tcm_bus == bus) goto bus_probed; |