Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 remove spurious printf()



details:   https://anonhg.NetBSD.org/src/rev/7f6d20af90db
branches:  trunk
changeset: 819997:7f6d20af90db
user:      cherry <cherry%NetBSD.org@localhost>
date:      Mon Dec 26 13:55:13 2016 +0000

description:
remove spurious printf()

diffstat:

 sys/arch/amd64/amd64/machdep.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 8b67245afcec -r 7f6d20af90db sys/arch/amd64/amd64/machdep.c
--- a/sys/arch/amd64/amd64/machdep.c    Mon Dec 26 13:28:59 2016 +0000
+++ b/sys/arch/amd64/amd64/machdep.c    Mon Dec 26 13:55:13 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.244 2016/12/26 12:54:42 cherry Exp $     */
+/*     $NetBSD: machdep.c,v 1.245 2016/12/26 13:55:13 cherry Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.244 2016/12/26 12:54:42 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.245 2016/12/26 13:55:13 cherry Exp $");
 
 /* #define XENDEBUG_LOW  */
 
@@ -1485,8 +1485,6 @@
        if (uvm_physseg_valid_p(x) == false)
                panic("init_x86_64: can't find end of memory");
 
-       printf("uvm_physseg_find(atop(avail_end), NULL) == %d\n",
-           uvm_physseg_find(atop(avail_end), NULL));
        /* Shrink so it'll fit in the last segment. */
        if (uvm_physseg_get_avail_end(x) - uvm_physseg_get_avail_start(x) < atop(sz))
                sz = ctob(uvm_physseg_get_avail_end(x) - uvm_physseg_get_avail_start(x));



Home | Main Index | Thread Index | Old Index