summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2014-05-17 12:54:58 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2014-05-17 12:54:58 +0000
commit6980fa8257096148c3bd944721758541d2da8d1d (patch)
tree48bedc001e7aabb489c02f4696351d73422f7a7e /sys/dev/cardbus
parentbeb6b31ced8535e2b1c99810429306ead532d7a0 (diff)
Fix kernel build with EHCI_DEBUG by removing a non-compiling DPRINTF().
Since no DPRINTF() call remains also remove its definition (requested by mpi@). ok mpi, and also reported by Jean-Philippe Ouellet
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/ehci_cardbus.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/cardbus/ehci_cardbus.c b/sys/dev/cardbus/ehci_cardbus.c
index 49ed81cac8c..d757ce5828d 100644
--- a/sys/dev/cardbus/ehci_cardbus.c
+++ b/sys/dev/cardbus/ehci_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci_cardbus.c,v 1.18 2014/05/16 18:17:03 mpi Exp $ */
+/* $OpenBSD: ehci_cardbus.c,v 1.19 2014/05/17 12:54:57 stsp Exp $ */
/* $NetBSD: ehci_cardbus.c,v 1.6.6.3 2004/09/21 13:27:25 skrll Exp $ */
/*
@@ -51,14 +51,6 @@
#include <dev/usb/ehcireg.h>
#include <dev/usb/ehcivar.h>
-#ifdef EHCI_DEBUG
-#define DPRINTF(x) if (ehcidebug) printf x
-extern int ehcidebug;
-#else
-#define DPRINTF(x)
-#endif
-
-
int ehci_cardbus_match(struct device *, void *, void *);
void ehci_cardbus_attach(struct device *, struct device *, void *);
int ehci_cardbus_detach(struct device *, int);
@@ -130,7 +122,6 @@ ehci_cardbus_attach(struct device *parent, struct device *self, void *aux)
/* Disable interrupts, so we don't get any spurious ones. */
sc->sc.sc_offs = EREAD1(&sc->sc, EHCI_CAPLENGTH);
- DPRINTF((": offs=%d", devname, sc->sc.sc_offs));
EOWRITE2(&sc->sc, EHCI_USBINTR, 0);
sc->sc_ih = cardbus_intr_establish(cc, cf, ca->ca_intrline,