From 196908a928b9c08d98e40da44f5115cea0d3a4b5 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 31 May 2006 07:27:29 +0000 Subject: make non debug kernels compile again --- sys/dev/usb/ehci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev/usb') diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index db471168e58..809c06f6ebc 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ehci.c,v 1.59 2006/05/31 06:59:56 pascoe Exp $ */ +/* $OpenBSD: ehci.c,v 1.60 2006/05/31 07:27:28 dlg Exp $ */ /* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */ /* @@ -742,7 +742,9 @@ void ehci_idone(struct ehci_xfer *ex) { usbd_xfer_handle xfer = &ex->xfer; +#ifdef EHCI_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; -- cgit v1.2.3