summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-09-28 03:33:01 +0000
committerimp <imp@FreeBSD.org>2008-09-28 03:33:01 +0000
commiteaeae65ffcd84982ee7e7c826512ac557ab5d940 (patch)
treef2087f94287c9bee77decf726a1d59bd210dab3c /sys/dev
parent67a928c072881290d56c36eda67cca45d28f9acb (diff)
downloadFreeBSD-src-eaeae65ffcd84982ee7e7c826512ac557ab5d940.zip
FreeBSD-src-eaeae65ffcd84982ee7e7c826512ac557ab5d940.tar.gz
Change while (cond)\n\t\t; to while (cond)\n\t\tcontinue; since the
former more explicitly tells the compiler that you want an empty loop. There are some lint programs that use this hint to avoid generating warnings. No functional change...
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cfe/cfe_console.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cfe/cfe_console.c b/sys/dev/cfe/cfe_console.c
index d5adb07..6d19947 100644
--- a/sys/dev/cfe/cfe_console.c
+++ b/sys/dev/cfe/cfe_console.c
@@ -126,7 +126,7 @@ cfe_tty_outwakeup(struct tty *tp)
if (len == 0)
break;
while (cfe_write(conhandle, buf, len) == 0)
- ;
+ continue;
}
}
@@ -190,7 +190,7 @@ cfe_cngetc(struct consdev *cp)
unsigned char ch;
while ((result = cfe_read(conhandle, &ch, 1)) == 0)
- ;
+ continue;
if (result > 0) {
#if defined(KDB) && defined(ALT_BREAK_TO_DEBUGGER)
@@ -228,7 +228,7 @@ cfe_cnputc(struct consdev *cp, int c)
cbuf = c;
while (cfe_write(conhandle, &cbuf, 1) == 0)
- ;
+ continue;
}
SYSINIT(cndev, SI_SUB_CONFIGURE, SI_ORDER_MIDDLE, cn_drvinit, NULL);
OpenPOWER on IntegriCloud