From 6c60134091cb2754d810b012773754967d8bbf92 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 9 Mar 2012 11:10:48 +0100 Subject: uhci: alloc can't fail, drop check. Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-uhci.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/usb') diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 8e34961859..e55dad914c 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 -- cgit v1.2.1