Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include KNF + remove unnecessary brackets



details:   https://anonhg.NetBSD.org/src/rev/040464722f9e
branches:  trunk
changeset: 372159:040464722f9e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 29 08:29:28 2022 +0000

description:
KNF + remove unnecessary brackets

diffstat:

 sys/arch/aarch64/include/pmap.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 91af1f7910ee -r 040464722f9e sys/arch/aarch64/include/pmap.h
--- a/sys/arch/aarch64/include/pmap.h   Sat Oct 29 08:17:16 2022 +0000
+++ b/sys/arch/aarch64/include/pmap.h   Sat Oct 29 08:29:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.55 2022/10/23 07:13:07 skrll Exp $ */
+/* $NetBSD: pmap.h,v 1.56 2022/10/29 08:29:28 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -256,11 +256,11 @@
        case 0:
                break;
        case VM_PROT_READ:
-               pte |= (LX_BLKPAG_AF | LX_BLKPAG_AP_RO);
+               pte |= LX_BLKPAG_AF | LX_BLKPAG_AP_RO;
                break;
        case VM_PROT_WRITE:
-       case VM_PROT_READ|VM_PROT_WRITE:
-               pte |= (LX_BLKPAG_AF | LX_BLKPAG_AP_RW);
+       case VM_PROT_READ | VM_PROT_WRITE:
+               pte |= LX_BLKPAG_AF | LX_BLKPAG_AP_RW;
                break;
        }
 



Home | Main Index | Thread Index | Old Index