projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: EHCI: remove useless test
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
usb
/
host
/
ehci-dbg.c
diff --git
a/drivers/usb/host/ehci-dbg.c
b/drivers/usb/host/ehci-dbg.c
index f0c00de035efffedea7d550376ce2420cc82f26c..1599806e3d47cddd7de228a4bb779b2a5e11fdd9 100644
(file)
--- a/
drivers/usb/host/ehci-dbg.c
+++ b/
drivers/usb/host/ehci-dbg.c
@@
-653,10
+653,8
@@
static ssize_t fill_periodic_buffer(struct debug_buffer *buf)
seen [seen_count++].qh = p.qh;
} else
temp = 0;
- if (p.qh) {
- tag = Q_NEXT_TYPE(ehci, hw->hw_next);
- p = p.qh->qh_next;
- }
+ tag = Q_NEXT_TYPE(ehci, hw->hw_next);
+ p = p.qh->qh_next;
break;
case Q_TYPE_FSTN:
temp = scnprintf (next, size,