Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

usb: xhci: remove 'retval' from xhci_pci_resume()

Remove unnecessary local 'retval' argument.

Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240905143300.1959279-10-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Niklas Neronin and committed by
Greg Kroah-Hartman
dbb2c922 77d871ae

+1 -3
+1 -3
drivers/usb/host/xhci-pci.c
··· 786 786 { 787 787 struct xhci_hcd *xhci = hcd_to_xhci(hcd); 788 788 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); 789 - int retval = 0; 790 789 791 790 reset_control_reset(xhci->reset); 792 791 ··· 816 817 if (xhci->quirks & XHCI_PME_STUCK_QUIRK) 817 818 xhci_pme_quirk(hcd); 818 819 819 - retval = xhci_resume(xhci, msg); 820 - return retval; 820 + return xhci_resume(xhci, msg); 821 821 } 822 822 823 823 static int xhci_pci_poweroff_late(struct usb_hcd *hcd, bool do_wakeup)