commit | 7655e3160c78a18c2ecf7bf4dee0bbfe58575c7f | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Fri Mar 22 13:31:29 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 25 13:35:05 2013 -0700 |
tree | bf32c4068914e6c3054ba35dc003a9818c0dfc56 | |
parent | 7bc782d73c7db042ecc965866b8c1c2b7d6e93d6 [diff] |
USB: EHCI: consolidate code in ehci_urb_dequeue() This patch (as1668) consolidates two nearly identical code paths in ehci_urb_dequeue(). The test for !qh can be removed because it will never succeed; the fact that usb_hcd_check_unlink_urb() returned 0 means that urb must be queued and therefore urb->hcpriv must point to a QH. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>