From: Alan Stern Date: Fri, 22 Mar 2013 17:31:29 +0000 (-0400) Subject: USB: EHCI: consolidate code in ehci_urb_dequeue() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7655e3160c78a18c2ecf7bf4dee0bbfe58575c7f;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed