I just noticed a debug message will generate a needless warning
when debugging is disabled.
Here's a patch for it, please merge to Linus' tree.
- Dave
--- ./drivers/usb-dist/host/ehci-q.c Thu May 30 15:26:04 2002
+++ ./drivers/usb/host/ehci-q.c Thu May 30 21:31:46 2002
@@ -144,11 +144,13 @@
usb_pipeendpoint (pipe),
usb_pipeout (pipe));
if (urb->dev->tt && !usb_pipeint (pipe)) {
+#ifdef DEBUG
struct usb_device *tt = urb->dev->tt->hub;
dbg ("clear tt %s-%s p%d buffer, a%d ep%d",
tt->bus->bus_name, tt->devpath,
urb->dev->ttport, urb->dev->devnum,
usb_pipeendpoint (pipe));
+#endif /* DEBUG */
usb_hub_tt_clear_buffer (urb->dev, pipe);
}
}