projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38fcb83
)
USB: ehci-hub: Remove redundant ehci->debug check
author
Jason Wessel
<jason.wessel@windriver.com>
Wed, 23 Sep 2009 23:32:44 +0000
(18:32 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 11 Dec 2009 19:55:13 +0000
(11:55 -0800)
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>
drivers/usb/host/ehci-hub.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/ehci-hub.c
b/drivers/usb/host/ehci-hub.c
index 1b6f1c0e5cee23c6c62f406c204a655d9b13fe67..2c6571c05f35c99398d973382680137f56363dcb 100644
(file)
--- a/
drivers/usb/host/ehci-hub.c
+++ b/
drivers/usb/host/ehci-hub.c
@@
-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();