render / rpms / qemu

Forked from rpms/qemu 10 months ago
Clone
Hans de Goede c8dfc6
From 0b32fd99ab948db3b4cac32562272095a2594f4c Mon Sep 17 00:00:00 2001
Hans de Goede c8dfc6
From: Gerd Hoffmann <kraxel@redhat.com>
Hans de Goede c8dfc6
Date: Thu, 6 Sep 2012 11:55:06 +0200
Hans de Goede c8dfc6
Subject: [PATCH 356/366] xhci: drop unused wlength
Hans de Goede c8dfc6
Hans de Goede c8dfc6
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Hans de Goede c8dfc6
---
Hans de Goede c8dfc6
 hw/usb/hcd-xhci.c | 2 --
Hans de Goede c8dfc6
 1 file changed, 2 deletions(-)
Hans de Goede c8dfc6
Hans de Goede c8dfc6
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
Hans de Goede c8dfc6
index 2918e64..e0ca690 100644
Hans de Goede c8dfc6
--- a/hw/usb/hcd-xhci.c
Hans de Goede c8dfc6
+++ b/hw/usb/hcd-xhci.c
Hans de Goede c8dfc6
@@ -1505,7 +1505,6 @@ static int xhci_fire_ctl_transfer(XHCIState *xhci, XHCITransfer *xfer)
Hans de Goede c8dfc6
 {
Hans de Goede c8dfc6
     XHCITRB *trb_setup, *trb_status;
Hans de Goede c8dfc6
     uint8_t bmRequestType;
Hans de Goede c8dfc6
-    uint16_t wLength;
Hans de Goede c8dfc6
     int ret;
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
     trb_setup = &xfer->trbs[0];
Hans de Goede c8dfc6
@@ -1540,7 +1539,6 @@ static int xhci_fire_ctl_transfer(XHCIState *xhci, XHCITransfer *xfer)
Hans de Goede c8dfc6
     }
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
     bmRequestType = trb_setup->parameter;
Hans de Goede c8dfc6
-    wLength = trb_setup->parameter >> 48;
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
     xfer->in_xfer = bmRequestType & USB_DIR_IN;
Hans de Goede c8dfc6
     xfer->iso_xfer = false;
Hans de Goede c8dfc6
-- 
Hans de Goede c8dfc6
1.7.12
Hans de Goede c8dfc6