summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ucycom.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2006-08-16 21:22:57 +0000
committerJason Wright <jason@cvs.openbsd.org>2006-08-16 21:22:57 +0000
commitb70f2f77cf951dfedb492ebbe94f9d702ba4d11f (patch)
tree4470d1d66740e4f10415093bb949d6e16ac0587f /sys/dev/usb/ucycom.c
parentfee4427bc47a7f498172fc0f22eaf2719b77267a (diff)
remove unecessary debugging stuff
Diffstat (limited to 'sys/dev/usb/ucycom.c')
-rw-r--r--sys/dev/usb/ucycom.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/ucycom.c b/sys/dev/usb/ucycom.c
index 0c81630fe7c..8b92ea96a25 100644
--- a/sys/dev/usb/ucycom.c
+++ b/sys/dev/usb/ucycom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ucycom.c,v 1.1 2006/08/15 16:41:02 jason Exp $ */
+/* $OpenBSD: ucycom.c,v 1.2 2006/08/16 21:22:56 jason Exp $ */
/* $NetBSD: ucycom.c,v 1.3 2005/08/05 07:27:47 skrll Exp $ */
/*
@@ -67,7 +67,6 @@
#include <dev/usb/ucomvar.h>
-#define UCYCOM_DEBUG
#ifdef UCYCOM_DEBUG
#define DPRINTF(x) if (ucycomdebug) logprintf x
#define DPRINTFN(n, x) if (ucycomdebug > (n)) logprintf x
@@ -157,9 +156,7 @@ struct ucom_methods ucycom_methods = {
Static void ucycom_intr(struct uhidev *, void *, u_int);
-#ifdef UCYCOM_DEBUG
Static void ucycom_get_cfg(struct ucycom_softc *);
-#endif
Static const struct usb_devno ucycom_devs[] = {
{ USB_VENDOR_CYPRESS, USB_PRODUCT_CYPRESS_USBRS232 },
@@ -300,7 +297,6 @@ ucycom_close(void *addr, int portno)
if (sc->sc_dying)
return;
- printf("UHIDEV_CLOSE\n");
// uhidev_close(&sc->sc_hdev);
if (sc->sc_obuf !=NULL) {
free(sc->sc_obuf, M_USBDEV);
@@ -478,8 +474,6 @@ ucycom_intr(struct uhidev *addr, void *ibuf, u_int len)
uint8_t *cp = ibuf;
int n, st, s;
- printf("ucycom_intr: %p %p %d\n", addr, ibuf, len);
-
/* not accepting data anymore.. */
if (sc->sc_ibuf == NULL)
return;