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>
This commit is contained in:
parent
1cbdde909f
commit
71d2c9cf65
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue