Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/riscv/fdt Remove debug printfs



details:   https://anonhg.NetBSD.org/src/rev/2adf5aa0630c
branches:  trunk
changeset: 378199:2adf5aa0630c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jul 26 06:36:34 2023 +0000

description:
Remove debug printfs

diffstat:

 sys/arch/riscv/fdt/clint_fdt.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (37 lines):

diff -r 96dafc5e6b7c -r 2adf5aa0630c sys/arch/riscv/fdt/clint_fdt.c
--- a/sys/arch/riscv/fdt/clint_fdt.c    Wed Jul 26 06:36:20 2023 +0000
+++ b/sys/arch/riscv/fdt/clint_fdt.c    Wed Jul 26 06:36:34 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clint_fdt.c,v 1.1 2023/05/07 12:41:48 skrll Exp $      */
+/*     $NetBSD: clint_fdt.c,v 1.2 2023/07/26 06:36:34 skrll Exp $      */
 
 /*-
  * Copyright (c) 2023 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clint_fdt.c,v 1.1 2023/05/07 12:41:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clint_fdt.c,v 1.2 2023/07/26 06:36:34 skrll Exp $");
 
 #include <sys/param.h>
 
@@ -122,8 +122,6 @@ clint_timer_intr(void *arg)
        struct clockframe * const cf = arg;
        struct clint_fdt_softc * const sc = clint_sc;
 
-printf_nolog("%s: sip %#" PRIxPTR "\n", __func__, csr_sip_read());
-
        csr_sip_clear(SIP_STIP);        /* clean pending interrupt status */
 
        clint_timer_set(sc, ci);
@@ -142,9 +140,6 @@ clint_cpu_initclocks(void)
        clint_timer_set(sc, ci);
 
        csr_sie_set(SIE_STIE);          /* enable supervisor timer intr */
-
-       printf("init clocks at time %"PRId64"\n",
-           ci->ci_lastintr);
 }
 
 static int



Home | Main Index | Thread Index | Old Index