From 927e7acd301e5d8d9836e39ba782f84551cadbab Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Sat, 24 Feb 2007 22:16:15 +0000 Subject: move debug print into debug block. --- sys/arch/arm/xscale/pxa27x_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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 @@ -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); -- cgit v1.2.3