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/0337301ac8e0
branches:  trunk
changeset: 955515:0337301ac8e0
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 01e0c6251224 -r 0337301ac8e0 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