no functional changes. Cleanup only
Signed-off-by: Felipe Balbi <[email protected]>
---
drivers/usb/host/xhci.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 4c2bc9d1678e..cd5b6bf4c867 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -3692,13 +3692,15 @@ static int
xhci_reserve_host_control_ep_resources(struct xhci_hcd *xhci)
*/
int xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev)
{
- struct xhci_hcd *xhci = hcd_to_xhci(hcd);
- struct xhci_virt_device *vdev;
struct xhci_slot_ctx *slot_ctx;
- unsigned long flags;
- int ret, slot_id;
+ struct xhci_virt_device *vdev;
struct xhci_command *command;
+ struct xhci_hcd *xhci;
+ unsigned long flags;
+ int slot_id;
+ int ret;
+ xhci = hcd_to_xhci(hcd);
command = xhci_alloc_command(xhci, true, GFP_KERNEL);
if (!command)
return 0;
--
2.16.1
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html