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

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

No need to check ehci->debug twice.

Found-by: Sergei 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
...@@ -236,7 +236,7 @@ static int ehci_bus_resume (struct usb_hcd *hcd) ...@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment