From 1ecfb7ed3d86a3414518fc750864b35bf6cdf236 Mon Sep 17 00:00:00 2001 From: Ian Dowse Date: Sat, 18 Mar 2006 17:57:34 +0000 Subject: [PATCH] Oops - fix the build in the !USB_DEBUG case. --- sys/dev/usb/ehci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index b6eab1d5932..e14ee411cb1 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;