projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4efe4ef
)
uhci: alloc can't fail, drop check.
author
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 9 Mar 2012 10:10:48 +0000
(11:10 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 13 Mar 2012 09:15:32 +0000
(10:15 +0100)
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 8e349618597bb764abd8288f07decda6456c8dee..e55dad914c322eaecd04acdaf020a16f866277ed 100644
(file)
--- 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