Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf5d344e authored by Mathias Nyman's avatar Mathias Nyman Committed by Greg Kroah-Hartman
Browse files

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: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a0a8e1c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}