projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c3e4b
)
ehci: Remove unnecessary ehci_flush_qh call
author
Hans de Goede
<hdegoede@redhat.com>
Thu, 16 Aug 2012 13:47:29 +0000
(15:47 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 31 Aug 2012 09:58:03 +0000
(11:58 +0200)
ehci_qh_do_overlay() already calls ehci_flush_qh() before it returns, calling
it twice is useless.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-ehci.c
b/hw/usb/hcd-ehci.c
index 3e10977492eb9f26e4c6d1fb64a81b53416a8ce6..923a949ea56541ee40c6f98def437aeb1b581dd3 100644
(file)
--- a/
hw/usb/hcd-ehci.c
+++ b/
hw/usb/hcd-ehci.c
@@
-1966,7
+1966,6
@@
static int ehci_state_fetchqtd(EHCIQueue *q)
}
if (p != NULL) {
ehci_qh_do_overlay(q);
- ehci_flush_qh(q);
if (p->async == EHCI_ASYNC_INFLIGHT) {
ehci_set_state(q->ehci, q->async, EST_HORIZONTALQH);
} else {