usb: return error code instead of 0 in the enqueue function.
[deliverable/linux.git] / drivers / usb / host / isp1760-hcd.c
index c858f2adb929904631746151469696c73b22cd22..db5f4f5c7a10600b77e14bce6795a93f5e0b9f83 100644 (file)
@@ -1615,8 +1615,7 @@ static int isp1760_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
                return -EPIPE;
        }
 
-       isp1760_prepare_enqueue(priv, urb, &qtd_list, mem_flags, pe);
-       return 0;
+       return isp1760_prepare_enqueue(priv, urb, &qtd_list, mem_flags, pe);
 }
 
 static int isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb,
This page took 0.042855 seconds and 5 git commands to generate.