summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2006-03-18 17:57:34 +0000
committeriedowse <iedowse@FreeBSD.org>2006-03-18 17:57:34 +0000
commitd4f801f4ab01a2c0d88e59ddabc9757533800554 (patch)
tree21c6ab38ff498443a45394e5bb3d940559fec91d /sys/dev/usb
parent86d485cdba2c766e9beb68734e9d7ba57123fa1d (diff)
downloadFreeBSD-src-d4f801f4ab01a2c0d88e59ddabc9757533800554.zip
FreeBSD-src-d4f801f4ab01a2c0d88e59ddabc9757533800554.tar.gz
Oops - fix the build in the !USB_DEBUG case.
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 b6eab1d..e14ee41 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;
OpenPOWER on IntegriCloud