diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-03-22 13:31:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 13:35:05 -0700 |
commit | 7655e3160c78a18c2ecf7bf4dee0bbfe58575c7f (patch) | |
tree | bf32c4068914e6c3054ba35dc003a9818c0dfc56 /drivers/usb/host/ehci-timer.c | |
parent | 7bc782d73c7db042ecc965866b8c1c2b7d6e93d6 (diff) | |
download | blackbird-op-linux-7655e3160c78a18c2ecf7bf4dee0bbfe58575c7f.tar.gz blackbird-op-linux-7655e3160c78a18c2ecf7bf4dee0bbfe58575c7f.zip |
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>
Diffstat (limited to 'drivers/usb/host/ehci-timer.c')
0 files changed, 0 insertions, 0 deletions