From: Mathias Nyman Date: Fri, 11 Nov 2016 13:13:10 +0000 (+0200) Subject: xhci: remove unnecessary xhci_quiesce call before xhci_halt X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cf5d344e13655df2fcb049ae212fe59c617349a7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git xhci: remove unnecessary xhci_quiesce call before xhci_halt Fist function called in xhci_halt is xhci_quiesce, so no point in calling it twice Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 797137e26549..e8a9450ebd52 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -303,7 +303,6 @@ static int xhci_abort_cmd_ring(struct xhci_hcd *xhci) "maybe the host is dead\n"); del_timer(&xhci->cmd_timer); xhci->xhc_state |= XHCI_STATE_DYING; - xhci_quiesce(xhci); xhci_halt(xhci); return -ESHUTDOWN; }