projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daa47f2
)
usb: xhci: remove unnecessary return in xhci_pci_setup()
author
Lu Baolu
<baolu.lu@linux.intel.com>
Mon, 23 Jan 2017 12:20:03 +0000
(14:20 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:57:35 +0000
(10:57 +0100)
Remove the unnecessary return line in xhci_pci_setup().
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-pci.c
b/drivers/usb/host/xhci-pci.c
index 954abfd5014d281d537e11353cb6093b9b7a0bdd..fc99f51d12e183603cd692592b6d77351131a1da 100644
(file)
--- 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);
}
/*