diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-09 11:10:48 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-13 10:15:32 +0100 |
commit | 6c60134091cb2754d810b012773754967d8bbf92 (patch) | |
tree | c9e12f0e0e0782f1b15ab1ffb00be1b0cc4c880b /hw | |
parent | 4efe4ef3b8f7530c5a62e23630ba3d439cd82ee6 (diff) | |
download | qemu-6c60134091cb2754d810b012773754967d8bbf92.zip qemu-6c60134091cb2754d810b012773754967d8bbf92.tar.gz qemu-6c60134091cb2754d810b012773754967d8bbf92.tar.bz2 |
uhci: alloc can't fail, drop check.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/usb/hcd-uhci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 8e34961..e55dad9 100644 --- a/hw/usb/hcd-uhci.c +++ b/hw/usb/hcd-uhci.c @@ -821,8 +821,6 @@ static int uhci_handle_td(UHCIState *s, uint32_t addr, UHCI_TD *td, uint32_t *in /* Allocate new packet */ async = uhci_async_alloc(uhci_queue_get(s, td), addr); - if (!async) - return TD_RESULT_NEXT_QH; /* valid needs to be large enough to handle 10 frame delay * for initial isochronous requests |