OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13ce07
)
xhci: remove dead code
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 14 Oct 2014 06:40:22 +0000
(08:40 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 15 Oct 2014 11:39:48 +0000
(13:39 +0200)
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-xhci.c
b/hw/usb/hcd-xhci.c
index
c556367
..
a27c9d3
100644
(file)
--- a/
hw/usb/hcd-xhci.c
+++ b/
hw/usb/hcd-xhci.c
@@
-1608,12
+1608,6
@@
static TRBCCode xhci_reset_ep(XHCIState *xhci, unsigned int slotid,
"data might be lost\n");
}
- uint8_t ep = epid>>1;
-
- if (epid & 1) {
- ep |= 0x80;
- }
-
if (!xhci->slots[slotid-1].uport ||
!xhci->slots[slotid-1].uport->dev ||
!xhci->slots[slotid-1].uport->dev->attached) {