Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 G/C



details:   https://anonhg.NetBSD.org/src/rev/5ebc11e2b50b
branches:  trunk
changeset: 940062:5ebc11e2b50b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 03 05:56:26 2020 +0000

description:
G/C

diffstat:

 sys/arch/aarch64/aarch64/aarch64_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f77199954794 -r 5ebc11e2b50b sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c        Fri Oct 02 22:20:25 2020 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c        Sat Oct 03 05:56:26 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.49 2020/09/30 16:47:55 skrll Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.50 2020/10/03 05:56:26 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.49 2020/09/30 16:47:55 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.50 2020/10/03 05:56:26 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_cpuoptions.h"
@@ -366,7 +366,7 @@
                 * order.
                 */
                paddr_t segend = end;
-               for (size_t j = 0; j < nbp; j++ /*, start = segend, segend = end */) {
+               for (size_t j = 0; j < nbp; j++) {
                        paddr_t bp_start = bp[j].bp_start;
                        paddr_t bp_end = bp_start + bp[j].bp_pages;
 



Home | Main Index | Thread Index | Old Index