Commit 5eed9dde authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Greg Kroah-Hartman

[PATCH] USB: uhci - unused urbp element

The usb device member in the urb private structure is redundant,
it is set but never used.
parent f749ccc0
...@@ -668,7 +668,6 @@ static struct urb_priv *uhci_alloc_urb_priv(struct uhci_hcd *uhci, struct urb *u ...@@ -668,7 +668,6 @@ static struct urb_priv *uhci_alloc_urb_priv(struct uhci_hcd *uhci, struct urb *u
urbp->inserttime = jiffies; urbp->inserttime = jiffies;
urbp->fsbrtime = jiffies; urbp->fsbrtime = jiffies;
urbp->urb = urb; urbp->urb = urb;
urbp->dev = urb->dev;
INIT_LIST_HEAD(&urbp->td_list); INIT_LIST_HEAD(&urbp->td_list);
INIT_LIST_HEAD(&urbp->queue_list); INIT_LIST_HEAD(&urbp->queue_list);
......
...@@ -372,7 +372,6 @@ struct urb_priv { ...@@ -372,7 +372,6 @@ struct urb_priv {
struct list_head urb_list; struct list_head urb_list;
struct urb *urb; struct urb *urb;
struct usb_device *dev;
struct uhci_qh *qh; /* QH for this URB */ struct uhci_qh *qh; /* QH for this URB */
struct list_head td_list; /* P: urb->lock */ struct list_head td_list; /* P: urb->lock */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment