@@ -1421,17 +1421,18 @@ static int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flag
*/
static int xhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
{
- unsigned long flags;
- int ret, i;
- u32 temp;
- struct xhci_hcd *xhci;
+ struct xhci_virt_device *vdev;
+ struct xhci_command *command;
+ struct xhci_ring *ep_ring;
struct urb_priv *urb_priv;
+ struct xhci_virt_ep *ep;
+ struct xhci_hcd *xhci;
struct xhci_td *td;
+ unsigned long flags;
unsigned int ep_index;
- struct xhci_ring *ep_ring;
- struct xhci_virt_ep *ep;
- struct xhci_command *command;
- struct xhci_virt_device *vdev;
+ u32 temp;
+ int ret;
+ int i;
xhci = hcd_to_xhci(hcd);
spin_lock_irqsave(&xhci->lock, flags);
cleanup only, no functional changes Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> --- drivers/usb/host/xhci.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-)