projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cbdde9
)
uhci: Fix double unlink
author
Hans de Goede
<hdegoede@redhat.com>
Sat, 17 Nov 2012 11:11:51 +0000
(12:11 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 21 Nov 2012 13:55:54 +0000
(14:55 +0100)
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>
hw/usb/hcd-uhci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-uhci.c
b/hw/usb/hcd-uhci.c
index 078be2ad6a0bf9939e86082c614b54a92d6d52a2..8e478030ad75f0c9f4c6387e39d4267b8c770520 100644
(file)
--- 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;
}