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

Commit 872d3599 authored by Jason Wessel's avatar Jason Wessel Committed by Greg Kroah-Hartman
Browse files

USB: ehci-hub: Remove redundant ehci->debug check



No need to check ehci->debug twice.

Found-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 38fcb830
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -236,7 +236,7 @@ static int ehci_bus_resume (struct usb_hcd *hcd)
	}
	}


	if (unlikely(ehci->debug)) {
	if (unlikely(ehci->debug)) {
		if (ehci->debug && !dbgp_reset_prep())
		if (!dbgp_reset_prep())
			ehci->debug = NULL;
			ehci->debug = NULL;
		else
		else
			dbgp_external_startup();
			dbgp_external_startup();