summaryrefslogtreecommitdiff
path: root/hw/usb
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-07-17 10:12:55 +0200
committerGerd Hoffmann <kraxel@redhat.com>2015-07-17 13:20:53 +0200
commit92fdfa4bef9c92addcc009dd3e0131172b4fdc78 (patch)
tree4867e8aaf0a21563a7af66f199a5043e8291d02b /hw/usb
parent86d7e214c224f939c897cfa3b6d597f7af4b5bba (diff)
downloadqemu-92fdfa4bef9c92addcc009dd3e0131172b4fdc78.zip
Revert "xhci: set timer to retry xfers"
This reverts commit 4e8cfbe1143d8384387595b500212d7a7f11aeae. We should not poll via timer, and with ccid being fixed to properly notify us about pending transfers we don't have to. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/hcd-xhci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 90a5fbff29..c673bed4c4 100644
--- a/hw/usb/hcd-xhci.c
+++ b/hw/usb/hcd-xhci.c
@@ -2222,8 +2222,6 @@ static void xhci_kick_ep(XHCIState *xhci, unsigned int slotid,
if (xfer->running_retry) {
DPRINTF("xhci: xfer nacked, stopping schedule\n");
epctx->retry = xfer;
- timer_mod(epctx->kick_timer, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) +
- epctx->interval * 125000);
break;
}
}