uhci: Move emptying of the queue's asyncs' queue to uhci_queue_free
commit40507377261250fe19e441300788c77b748688cb
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Oct 2012 16:31:09 +0000 (24 18:31 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 25 Oct 2012 07:08:11 +0000 (25 09:08 +0200)
tree73ba39aee7422415930d46259965a65ce0eb2001
parent3c87c76d1a0e9ce1dde6f919e3b1b9bcabb69985
uhci: Move emptying of the queue's asyncs' queue to uhci_queue_free

Cleanup: all callers of uhci_queue_free first unconditionally cancel
all remaining asyncs in the queue, so lets move this to uhci_queue_free().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-uhci.c