Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Remove unnecessary { } around code block....



details:   https://anonhg.NetBSD.org/src/rev/b75f462e0504
branches:  trunk
changeset: 795086:b75f462e0504
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Apr 01 05:37:35 2014 +0000

description:
Remove unnecessary { } around code block. No functional change.

diffstat:

 sys/arch/arm/arm32/arm32_kvminit.c |  19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diffs (40 lines):

diff -r e06fcad3fc3a -r b75f462e0504 sys/arch/arm/arm32/arm32_kvminit.c
--- a/sys/arch/arm/arm32/arm32_kvminit.c        Tue Apr 01 01:10:14 2014 +0000
+++ b/sys/arch/arm/arm32/arm32_kvminit.c        Tue Apr 01 05:37:35 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm32_kvminit.c,v 1.25 2014/03/28 21:56:45 matt Exp $  */
+/*     $NetBSD: arm32_kvminit.c,v 1.26 2014/04/01 05:37:35 skrll Exp $ */
 
 /*
  * Copyright (c) 2002, 2003, 2005  Genetec Corporation.  All rights reserved.
@@ -122,7 +122,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.25 2014/03/28 21:56:45 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.26 2014/04/01 05:37:35 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -681,14 +681,13 @@
 
 #ifdef VERBOSE_INIT_ARM
        printf("Listing Chunks\n");
-       {
-               pv_addr_t *pv;
-               SLIST_FOREACH(pv, &bmi->bmi_chunks, pv_list) {
-                       printf("%s: pv %p: chunk VA %#lx..%#lx "
-                           "(PA %#lx, prot %d, cache %d)\n",
-                           __func__, pv, pv->pv_va, pv->pv_va + pv->pv_size - 1,
-                           pv->pv_pa, pv->pv_prot, pv->pv_cache);
-               }
+
+       pv_addr_t *lpv;
+       SLIST_FOREACH(lpv, &bmi->bmi_chunks, pv_list) {
+               printf("%s: pv %p: chunk VA %#lx..%#lx "
+                   "(PA %#lx, prot %d, cache %d)\n",
+                   __func__, lpv, lpv->pv_va, lpv->pv_va + lpv->pv_size - 1,
+                   lpv->pv_pa, lpv->pv_prot, lpv->pv_cache);
        }
        printf("\nMapping Chunks\n");
 #endif



Home | Main Index | Thread Index | Old Index