From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbBM5-0001ks-IG for qemu-devel@nongnu.org; Wed, 21 Nov 2012 09:32:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbBLx-0005oR-TP for qemu-devel@nongnu.org; Wed, 21 Nov 2012 09:32:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbBLx-0005oJ-Lz for qemu-devel@nongnu.org; Wed, 21 Nov 2012 09:32:37 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qALEWaXp000967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 21 Nov 2012 09:32:37 -0500 From: Gerd Hoffmann Date: Wed, 21 Nov 2012 15:00:00 +0100 Message-Id: <1353506404-29446-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1353506404-29446-1-git-send-email-kraxel@redhat.com> References: <1353506404-29446-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 3/7] uhci: Fix double unlink List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Hans de Goede , Gerd Hoffmann From: Hans de Goede uhci_async_cancel() already does a uhci_async_unlink(). Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-uhci.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 078be2a..8e47803 100644 --- a/hw/usb/hcd-uhci.c +++ b/hw/usb/hcd-uhci.c @@ -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; } -- 1.7.1