We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77d871a commit dbb2c92Copy full SHA for dbb2c92
drivers/usb/host/xhci-pci.c
@@ -786,7 +786,6 @@ static int xhci_pci_resume(struct usb_hcd *hcd, pm_message_t msg)
786
{
787
struct xhci_hcd *xhci = hcd_to_xhci(hcd);
788
struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
789
- int retval = 0;
790
791
reset_control_reset(xhci->reset);
792
@@ -817,8 +816,7 @@ static int xhci_pci_resume(struct usb_hcd *hcd, pm_message_t msg)
817
816
if (xhci->quirks & XHCI_PME_STUCK_QUIRK)
818
xhci_pme_quirk(hcd);
819
820
- retval = xhci_resume(xhci, msg);
821
- return retval;
+ return xhci_resume(xhci, msg);
822
}
823
824
static int xhci_pci_poweroff_late(struct usb_hcd *hcd, bool do_wakeup)
0 commit comments