From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9Z85-0005Pt-Ih for qemu-devel@nongnu.org; Thu, 06 Sep 2012 06:16:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9Z7z-0003Ju-8n for qemu-devel@nongnu.org; Thu, 06 Sep 2012 06:16:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9Z7z-0003JU-0h for qemu-devel@nongnu.org; Thu, 06 Sep 2012 06:16:03 -0400 From: Gerd Hoffmann Date: Thu, 6 Sep 2012 12:15:59 +0200 Message-Id: <1346926560-8166-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] xhci: drop unused wlength List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: alex@securiforest.com, Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-xhci.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 2918e64..e0ca690 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -1505,7 +1505,6 @@ static int xhci_fire_ctl_transfer(XHCIState *xhci, XHCITransfer *xfer) { XHCITRB *trb_setup, *trb_status; uint8_t bmRequestType; - uint16_t wLength; int ret; trb_setup = &xfer->trbs[0]; @@ -1540,7 +1539,6 @@ static int xhci_fire_ctl_transfer(XHCIState *xhci, XHCITransfer *xfer) } bmRequestType = trb_setup->parameter; - wLength = trb_setup->parameter >> 48; xfer->in_xfer = bmRequestType & USB_DIR_IN; xfer->iso_xfer = false; -- 1.7.1