summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/bs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-02-04 16:08:18 +0000
committerphk <phk@FreeBSD.org>2001-02-04 16:08:18 +0000
commit709379c1aeaadc2770d45e2cb1bc6428c65f09d3 (patch)
treedfeb80ff1352759a12e59878a24ad037eef63ea0 /sys/i386/isa/bs
parente01468552648a6fc51185ba9e47435b0d00ff96f (diff)
downloadFreeBSD-src-709379c1aeaadc2770d45e2cb1bc6428c65f09d3.zip
FreeBSD-src-709379c1aeaadc2770d45e2cb1bc6428c65f09d3.tar.gz
Another round of the <sys/queue.h> FOREACH transmogriffer.
Created with: sed(1) Reviewed by: md5(1)
Diffstat (limited to 'sys/i386/isa/bs')
-rw-r--r--sys/i386/isa/bs/bs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/isa/bs/bs.c b/sys/i386/isa/bs/bs.c
index 97a506f..f091776 100644
--- a/sys/i386/isa/bs/bs.c
+++ b/sys/i386/isa/bs/bs.c
@@ -450,8 +450,7 @@ again:
{
struct targ_info *tmpti;
- for (tmpti = TAILQ_FIRST(&bsc->sc_titab); tmpti;
- tmpti = TAILQ_NEXT(tmpti, ti_tchain))
+ TAILQ_FOREACH(tmpti, &bsc->sc_titab, ti_tchain)
if (tmpti->ti_phase >= DISCONNECTED)
goto retry;
}
OpenPOWER on IntegriCloud