Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen Remove debug printfs



details:   https://anonhg.NetBSD.org/src/rev/90f066dcfd4a
branches:  trunk
changeset: 971571:90f066dcfd4a
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Apr 28 13:27:29 2020 +0000

description:
Remove debug printfs

diffstat:

 sys/arch/xen/xen/hypervisor.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r eaed0f25c0fb -r 90f066dcfd4a sys/arch/xen/xen/hypervisor.c
--- a/sys/arch/xen/xen/hypervisor.c     Tue Apr 28 13:21:01 2020 +0000
+++ b/sys/arch/xen/xen/hypervisor.c     Tue Apr 28 13:27:29 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hypervisor.c,v 1.76 2020/04/25 15:26:18 bouyer Exp $ */
+/* $NetBSD: hypervisor.c,v 1.77 2020/04/28 13:27:29 bouyer Exp $ */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -53,7 +53,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.76 2020/04/25 15:26:18 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.77 2020/04/28 13:27:29 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -219,15 +219,12 @@
                        case FSTATE_NOTFOUND:
                        case FSTATE_FOUND:
                        case FSTATE_STAR:
-                               printf("xen_check_hypervisordev: enabled\n");
                                return true;
                        default:
-                               printf("xen_check_hypervisordev: disabled\n");
                                return false;
                        }
                }
        }
-       printf("xen_check_hypervisordev: notfound\n");
        return 0;
 }
 int



Home | Main Index | Thread Index | Old Index