mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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:
committed by
Gerd Hoffmann
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user