From: Lu Baolu Date: Mon, 23 Jan 2017 12:20:03 +0000 (+0200) Subject: usb: xhci: remove unnecessary return in xhci_pci_setup() X-Git-Tag: v4.11-rc1~119^2~67 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=989bad111979f6e3827f23c3797f6ecd67766bab;p=karo-tx-linux.git usb: xhci: remove unnecessary return in xhci_pci_setup() Remove the unnecessary return line in xhci_pci_setup(). Signed-off-by: Lu Baolu Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 954abfd5014d..fc99f51d12e1 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -242,11 +242,7 @@ static int xhci_pci_setup(struct usb_hcd *hcd) xhci_dbg(xhci, "Got SBRN %u\n", (unsigned int) xhci->sbrn); /* Find any debug ports */ - retval = xhci_pci_reinit(xhci, pdev); - if (!retval) - return retval; - - return retval; + return xhci_pci_reinit(xhci, pdev); } /*