Cleanup only, no functional changes. While at that, remove the initialization of ret which is now unnecessary. Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> --- drivers/usb/host/xhci.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index f2733f717568..eec9e0c0b7c9 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -1303,12 +1303,13 @@ static int xhci_num_tds_for_urb(struct urb *urb) static int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) { struct xhci_hcd *xhci = hcd_to_xhci(hcd); + struct urb_priv *urb_priv; unsigned long flags; - int ret = 0; - unsigned int slot_id, ep_index; unsigned int *ep_state; - struct urb_priv *urb_priv; + unsigned int ep_index; + unsigned int slot_id; int num_tds; + int ret; if (!urb || xhci_check_args(hcd, urb->dev, urb->ep, true, true, __func__) <= 0) -- 2.16.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html