Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Remove some debugging code that was accidentally...
details: https://anonhg.NetBSD.org/src/rev/44220db41fed
branches: trunk
changeset: 768697:44220db41fed
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Aug 25 02:29:08 2011 +0000
description:
Remove some debugging code that was accidentally committed
diffstat:
sys/dev/usb/if_axe.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r f04fc20ad577 -r 44220db41fed sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c Thu Aug 25 02:27:31 2011 +0000
+++ b/sys/dev/usb/if_axe.c Thu Aug 25 02:29:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axe.c,v 1.49 2011/08/25 02:27:31 pgoyette Exp $ */
+/* $NetBSD: if_axe.c,v 1.50 2011/08/25 02:29:08 pgoyette Exp $ */
/* $OpenBSD: if_axe.c,v 1.96 2010/01/09 05:33:08 jsg Exp $ */
/*
@@ -89,7 +89,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.49 2011/08/25 02:27:31 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.50 2011/08/25 02:29:08 pgoyette Exp $");
#if defined(__NetBSD__)
#ifndef _MODULE
@@ -212,8 +212,6 @@
static void axe_ax88178_init(struct axe_softc *);
static void axe_ax88772_init(struct axe_softc *);
-extern int usbdebug; /* XXX */
-
/* Get exclusive access to the MII registers */
static void
axe_lock_mii(struct axe_softc *sc)
@@ -1475,10 +1473,8 @@
switch (cmd) {
case MODULE_CMD_INIT:
#ifdef _MODULE
- usbdebug++; /* XXX */
error = config_init_component(cfdriver_ioconf_axe,
cfattach_ioconf_axe, cfdata_ioconf_axe);
- usbdebug--; /* XXX */
#endif
return error;
case MODULE_CMD_FINI:
Home |
Main Index |
Thread Index |
Old Index