diff options
| author | dsl <dsl@NetBSD.org> | 2008-07-25 18:37:24 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2008-07-25 18:37:24 +0000 |
| commit | bc2387e293b6272bf409c9fdbbe63493b749be1e (patch) | |
| tree | be6299ac67da9d24bc0bab036e791cdf869560d5 /sys/dev | |
| parent | b00559d07ef05172d7b0e90fa61f00b51d23797f (diff) | |
Replace a 'do { ... } while (0);' with 'for (;;) { ... break; }'
so that the 'continue' has the (probably) desired effect.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/qbus/rf.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/qbus/rf.c b/sys/dev/qbus/rf.c index 2c80f7f25d3..51a511baa77 100644 --- a/sys/dev/qbus/rf.c +++ b/sys/dev/qbus/rf.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf.c,v 1.20 2008/03/15 00:05:50 jkunz Exp $ */ +/* $NetBSD: rf.c,v 1.21 2008/07/25 18:37:24 dsl Exp $ */ /* * Copyright (c) 2002 Jochen Kunz. * All rights reserved. @@ -36,7 +36,7 @@ TODO: */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf.c,v 1.20 2008/03/15 00:05:50 jkunz Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf.c,v 1.21 2008/07/25 18:37:24 dsl Exp $"); /* autoconfig stuff */ #include <sys/param.h> @@ -654,7 +654,7 @@ rfc_intr(void *intarg) int i; rf_sc = device_private(rfc_sc->sc_childs[rfc_sc->sc_curchild]); - do { + for (;;) { /* * First clean up from previous command... */ @@ -932,7 +932,8 @@ rfc_intr(void *intarg) return; continue; } - } while ( 1 == 0 /* CONSTCOND */ ); + break; + } return; } |
