The usb device member in the urb private structure is redundant,
it is set but never used.
diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c
--- a/drivers/usb/host/uhci-hcd.c Thu Feb 5 10:59:31 2004
+++ b/drivers/usb/host/uhci-hcd.c Thu Feb 5 10:59:31 2004
@@ -668,7 +668,6 @@
urbp->inserttime = jiffies;
urbp->fsbrtime = jiffies;
urbp->urb = urb;
- urbp->dev = urb->dev;
INIT_LIST_HEAD(&urbp->td_list);
INIT_LIST_HEAD(&urbp->queue_list);
diff -Nru a/drivers/usb/host/uhci-hcd.h b/drivers/usb/host/uhci-hcd.h
--- a/drivers/usb/host/uhci-hcd.h Thu Feb 5 10:59:31 2004
+++ b/drivers/usb/host/uhci-hcd.h Thu Feb 5 10:59:31 2004
@@ -372,7 +372,6 @@
struct list_head urb_list;
struct urb *urb;
- struct usb_device *dev;
struct uhci_qh *qh; /* QH for this URB */
struct list_head td_list; /* P: urb->lock */
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel