Commit c0ad7291 authored by Bob Liu's avatar Bob Liu Committed by Greg Kroah-Hartman

USB: uhci: rm repeatedly evaluation for urbp->qh

Signed-off-by: default avatarBob Liu <yjfpb04@gmail.com>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a2fbf10e
...@@ -1422,7 +1422,6 @@ static int uhci_urb_enqueue(struct usb_hcd *hcd, ...@@ -1422,7 +1422,6 @@ static int uhci_urb_enqueue(struct usb_hcd *hcd,
goto err_submit_failed; goto err_submit_failed;
/* Add this URB to the QH */ /* Add this URB to the QH */
urbp->qh = qh;
list_add_tail(&urbp->node, &qh->queue); list_add_tail(&urbp->node, &qh->queue);
/* If the new URB is the first and only one on this QH then either /* If the new URB is the first and only one on this QH then either
......
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