Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/lfs Use continue to denote the no-op loop to match n...



details:   https://anonhg.NetBSD.org/src/rev/300e7061f726
branches:  trunk
changeset: 824641:300e7061f726
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Jun 12 15:02:32 2017 +0000

description:
Use continue to denote the no-op loop to match netbsd style
newline for extra clarity.

diffstat:

 sys/ufs/lfs/lfs_segment.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r aaf1270e1f5a -r 300e7061f726 sys/ufs/lfs/lfs_segment.c
--- a/sys/ufs/lfs/lfs_segment.c Mon Jun 12 14:59:04 2017 +0000
+++ b/sys/ufs/lfs/lfs_segment.c Mon Jun 12 15:02:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_segment.c,v 1.270 2017/06/10 05:29:36 maya Exp $   */
+/*     $NetBSD: lfs_segment.c,v 1.271 2017/06/12 15:02:32 maya Exp $   */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.270 2017/06/10 05:29:36 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.271 2017/06/12 15:02:32 maya Exp $");
 
 #ifdef DEBUG
 # define vndebug(vp, str) do {                                         \
@@ -1381,7 +1381,8 @@
        for (bp = LIST_FIRST(&vp->v_dirtyblkhd);
             bp && LIST_NEXT(bp, b_vnbufs) != NULL;
             bp = LIST_NEXT(bp, b_vnbufs))
-               /* nothing */;
+               continue;
+
        for (; bp && bp != BEG_OF_LIST; bp = nbp) {
                nbp = BACK_BUF(bp);
 #else /* LFS_NO_BACKBUF_HACK */



Home | Main Index | Thread Index | Old Index