summaryrefslogtreecommitdiff
path: root/sys/arch/arm/xscale/pxa27x_udc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm/xscale/pxa27x_udc.c')
-rw-r--r--sys/arch/arm/xscale/pxa27x_udc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/xscale/pxa27x_udc.c b/sys/arch/arm/xscale/pxa27x_udc.c
index dcb3f266c99..3e70dc7ac97 100644
--- a/sys/arch/arm/xscale/pxa27x_udc.c
+++ b/sys/arch/arm/xscale/pxa27x_udc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa27x_udc.c,v 1.17 2007/02/24 22:08:20 drahn Exp $ */
+/* $OpenBSD: pxa27x_udc.c,v 1.18 2007/02/24 22:16:14 drahn Exp $ */
/*
* Copyright (c) 2007 Dale Rahn <drahn@openbsd.org>
@@ -756,10 +756,10 @@ pxaudc_write(struct pxaudc_softc *sc, usbf_xfer_handle xfer)
}
#ifdef DEBUG_TX
printf(" wrote tlen %x %x\n", tlen, xfer->actlen);
-#endif
if (xfer->actlen == 0) {
printf("whoa, write_ep called, but no free space\n");
}
+#endif
if (xfer->actlen >= xfer->length) {
if ((xfer->actlen % maxp) != 0) {
CSR_SET_4(sc, USBDC_UDCCSR(ep), USBDC_UDCCSR_SP);