From 52f635294dc2220b27898d3db1703c9464b92fb1 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 5 Mar 2006 21:48:58 +0000 Subject: Use more queue macros rather than doing it by hand; ok otto@ krw@ --- sys/dev/isa/if_trtcm_isa.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/isa/if_trtcm_isa.c') 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; -- cgit v1.2.3