From: Hans de Goede Date: Sat, 17 Nov 2012 11:11:51 +0000 (+0100) Subject: uhci: Fix double unlink X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=71d2c9cf656cb8b55a71057c1943ade197c1bb5b;p=qemu.git uhci: Fix double unlink uhci_async_cancel() already does a uhci_async_unlink(). Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 078be2ad6a..8e478030ad 100644 --- a/hw/usb/hcd-uhci.c +++ b/hw/usb/hcd-uhci.c @@ -963,7 +963,6 @@ static void uhci_async_complete(USBPort *port, USBPacket *packet) UHCIState *s = async->queue->uhci; if (packet->status == USB_RET_REMOVE_FROM_QUEUE) { - uhci_async_unlink(async); uhci_async_cancel(async); return; }