aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2006-03-18 17:57:34 +0000
committerIan Dowse <iedowse@FreeBSD.org>2006-03-18 17:57:34 +0000
commit1ecfb7ed3d86a3414518fc750864b35bf6cdf236 (patch)
tree21c6ab38ff498443a45394e5bb3d940559fec91d /sys/dev/usb
parentc3ed02cf4f0ad476c4bbd5994c52fd2b663a8fee (diff)
Notes
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ehci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index b6eab1d5932e0..e14ee411cb10d 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -763,7 +763,9 @@ void
ehci_idone(struct ehci_xfer *ex)
{
usbd_xfer_handle xfer = &ex->xfer;
+#ifdef USB_DEBUG
struct ehci_pipe *epipe = (struct ehci_pipe *)xfer->pipe;
+#endif
ehci_soft_qtd_t *sqtd, *lsqtd;
u_int32_t status = 0, nstatus = 0;
int actlen, cerr;