Module Name:    src
Committed By:   skrll
Date:           Wed Jul 26 06:36:34 UTC 2023

Modified Files:
        src/sys/arch/riscv/fdt: clint_fdt.c

Log Message:
Remove debug printfs


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/fdt/clint_fdt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/riscv/fdt/clint_fdt.c
diff -u src/sys/arch/riscv/fdt/clint_fdt.c:1.1 src/sys/arch/riscv/fdt/clint_fdt.c:1.2
--- src/sys/arch/riscv/fdt/clint_fdt.c:1.1	Sun May  7 12:41:48 2023
+++ src/sys/arch/riscv/fdt/clint_fdt.c	Wed Jul 26 06:36:34 2023
@@ -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

Reply via email to