aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-08-16 15:47:29 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-08-31 11:58:03 +0200
commit53dd6f7032ec4898ca8f95356df795a92cd27e09 (patch)
tree51d06d47d20f075799481c6d0ef52af3613596f9
parenta1c3e4b839f8e7ec7f1792b8a11c63ca845aa021 (diff)
downloadqemu-arm-53dd6f7032ec4898ca8f95356df795a92cd27e09.tar.gz
ehci: Remove unnecessary ehci_flush_qh call
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>
-rw-r--r--hw/usb/hcd-ehci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index 3e10977492..923a949ea5 100644
--- 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 {