mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
38fcb83099
commit
872d359962
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ static int ehci_bus_resume (struct usb_hcd *hcd)
|
|||
}
|
||||
|
||||
if (unlikely(ehci->debug)) {
|
||||
if (ehci->debug && !dbgp_reset_prep())
|
||||
if (!dbgp_reset_prep())
|
||||
ehci->debug = NULL;
|
||||
else
|
||||
dbgp_external_startup();
|
||||
|
|
Loading…
Reference in a new issue