From: Hans de Goede Date: Thu, 16 Aug 2012 13:47:29 +0000 (+0200) Subject: ehci: Remove unnecessary ehci_flush_qh call X-Git-Tag: v1.2.0-rc3~2^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53dd6f7032ec4898ca8f95356df795a92cd27e09;p=thirdparty%2Fqemu.git 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 Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 3e10977492e..923a949ea56 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 {