projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daf2530
)
ehci: remove unused attach_poll_counter
author
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 24 May 2012 14:48:04 +0000
(16:48 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 7 Jun 2012 08:02:23 +0000
(10:02 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-ehci.c
b/hw/usb/hcd-ehci.c
index f77a26d9d9f57517ee57b07df0075c99d5fb6c44..ee7420f0f7de1cec3679e1e6dc04272353b1ed96 100644
(file)
--- a/
hw/usb/hcd-ehci.c
+++ b/
hw/usb/hcd-ehci.c
@@
-415,7
+415,6
@@
struct EHCIState {
*/
QEMUTimer *frame_timer;
QEMUBH *async_bh;
- int attach_poll_counter;
int astate; // Current state in asynchronous schedule
int pstate; // Current state in periodic schedule
USBPort ports[NB_PORTS];
@@
-984,7
+983,6
@@
static void ehci_reset(void *opaque)
s->astate = EST_INACTIVE;
s->pstate = EST_INACTIVE;
- s->attach_poll_counter = 0;
for(i = 0; i < NB_PORTS; i++) {
if (s->companion_ports[i]) {