Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sysmon Remove some debugging printf()s that were err...



details:   https://anonhg.NetBSD.org/src/rev/1d475e3e3a8e
branches:  trunk
changeset: 807685:1d475e3e3a8e
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Apr 18 22:56:52 2015 +0000

description:
Remove some debugging printf()s that were erroneously committed.

diffstat:

 sys/dev/sysmon/swwdog.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (66 lines):

diff -r aa108b9078cd -r 1d475e3e3a8e sys/dev/sysmon/swwdog.c
--- a/sys/dev/sysmon/swwdog.c   Sat Apr 18 22:06:48 2015 +0000
+++ b/sys/dev/sysmon/swwdog.c   Sat Apr 18 22:56:52 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: swwdog.c,v 1.14 2015/04/18 10:49:31 pgoyette Exp $     */
+/*     $NetBSD: swwdog.c,v 1.15 2015/04/18 22:56:52 pgoyette Exp $     */
 
 /*
  * Copyright (c) 2004, 2005 Steven M. Bellovin
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: swwdog.c,v 1.14 2015/04/18 10:49:31 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: swwdog.c,v 1.15 2015/04/18 22:56:52 pgoyette Exp $");
 
 /*
  *
@@ -116,7 +116,6 @@
        int error;
        static struct cfdata cf;
 
-printf("%s: entered\n", __func__); /* XXX PRG */
        if (workqueue_create(&wq, "swwreboot", doreboot, NULL,
            PRI_NONE, IPL_NONE, 0) != 0) {
                aprint_error("failed to create swwdog reboot wq");
@@ -141,7 +140,6 @@
 
        swwdog_dev = config_attach_pseudo(&cf);
 
-printf("%s: swwdog_dev = 0x%p\n", __func__, swwdog_dev); /* XXX PRG */
        if (swwdog_dev == NULL) {
                config_cfattach_detach(swwdog_cd.cd_name, &swwdog_ca);
                workqueue_destroy(wq);
@@ -154,7 +152,6 @@
 swwdog_match(device_t parent, cfdata_t data, void *aux)
 {
 
-printf("%s: entered\n", __func__); /* XXX PRG */
        return 1;
 }
 
@@ -163,7 +160,6 @@
 {
        struct swwdog_softc *sc = device_private(self);
 
-printf("%s: entered\n", __func__); /* XXX PRG */
        if (workqueue_create(&wq, "swwreboot", doreboot, NULL,
            PRI_NONE, IPL_NONE, 0) != 0) {
                aprint_error_dev(self, "failed to create reboot workqueue");
@@ -200,7 +196,6 @@
 {
        struct swwdog_softc *sc = device_private(self);
 
-printf("%s: entered\n", __func__); /* XXX PRG */
        pmf_device_deregister(self);
        swwdog_disarm(sc);
        sysctl_teardown(&swwdog_sysctllog);
@@ -365,7 +360,6 @@
 {
        int ret;
  
-printf("%s: cmd %d\n", __func__, cmd); /* XXX PRG */
        switch (cmd) {
        case MODULE_CMD_INIT:
                ret = swwdog_init(arg);



Home | Main Index | Thread Index | Old Index