aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cfe
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2008-09-28 03:33:01 +0000
committerWarner Losh <imp@FreeBSD.org>2008-09-28 03:33:01 +0000
commit750595ef63172fc8aaf9ef04b59a43216ea7070a (patch)
treef2087f94287c9bee77decf726a1d59bd210dab3c /sys/dev/cfe
parent20284fcdd99edeb983b2ab787f90ffc809115669 (diff)
downloadsrc-750595ef63172fc8aaf9ef04b59a43216ea7070a.tar.gz
src-750595ef63172fc8aaf9ef04b59a43216ea7070a.zip
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...
Notes
Notes: svn path=/head/; revision=183424
Diffstat (limited to 'sys/dev/cfe')
-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 d5adb075a251..6d19947debd7 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);