Module Name:    src
Committed By:   pgoyette
Date:           Thu Aug 25 02:29:08 UTC 2011

Modified Files:
        src/sys/dev/usb: if_axe.c

Log Message:
Remove some debugging code that was accidentally committed


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/usb/if_axe.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/dev/usb/if_axe.c
diff -u src/sys/dev/usb/if_axe.c:1.49 src/sys/dev/usb/if_axe.c:1.50
--- src/sys/dev/usb/if_axe.c:1.49	Thu Aug 25 02:27:31 2011
+++ src/sys/dev/usb/if_axe.c	Thu Aug 25 02:29:08 2011
@@ -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:

Reply via email to