diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-11-17 12:11:51 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-21 14:55:54 +0100 |
commit | 71d2c9cf656cb8b55a71057c1943ade197c1bb5b (patch) | |
tree | 82a5637a05306f3822478a9f773fe32b725a2dee /hw | |
parent | 1cbdde909f70fd15ff85f068a6318b73865c7fa3 (diff) | |
download | qemu-71d2c9cf656cb8b55a71057c1943ade197c1bb5b.zip qemu-71d2c9cf656cb8b55a71057c1943ade197c1bb5b.tar.gz qemu-71d2c9cf656cb8b55a71057c1943ade197c1bb5b.tar.bz2 |
uhci: Fix double unlink
uhci_async_cancel() already does a uhci_async_unlink().
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/usb/hcd-uhci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 078be2a..8e47803 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; } |