Remove the unnecessary return line in xhci_pci_setup().

Signed-off-by: Lu Baolu <[email protected]>
---
 drivers/usb/host/xhci-pci.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index e96ae80..ace3f57 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -242,8 +242,6 @@ static int xhci_pci_setup(struct usb_hcd *hcd)
 
        /* Find any debug ports */
        retval = xhci_pci_reinit(xhci, pdev);
-       if (!retval)
-               return retval;
 
        return retval;
 }
-- 
2.1.4

--
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

Reply via email to