forked from Minki/linux
USB: uhci: rm repeatedly evaluation for urbp->qh
Signed-off-by: Bob Liu <yjfpb04@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
a2fbf10eba
commit
c0ad7291aa
@ -1422,7 +1422,6 @@ static int uhci_urb_enqueue(struct usb_hcd *hcd,
|
||||
goto err_submit_failed;
|
||||
|
||||
/* Add this URB to the QH */
|
||||
urbp->qh = qh;
|
||||
list_add_tail(&urbp->node, &qh->queue);
|
||||
|
||||
/* If the new URB is the first and only one on this QH then either
|
||||
|
Loading…
Reference in New Issue
Block a user