Skip to contentSkip to conversation

ehci: Remove unnecessary ehci_flush_qh call

PATCH New Hans de Goede 1 participant 1 message Aug 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ehci: Remove unnecessary ehci_flush_qh call

ehci_qh_do_overlay() already calls ehci_flush_qh() before it returns, calling it twice is useless.

---
 hw/usb/hcd-ehci.c | 1 -
 1 file changed, 1 deletion(-)
hw/usb/hcd-ehci.c +0 -1
index 8b94b17..41d663d 100644
@@ -1956,7 +1956,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 {
Signature · 1 line
1.7.11.4