diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-05-24 16:48:04 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-06-07 10:02:23 +0200 |
commit | 863b474163085a3df13e2c6bf8e696486f3a0c66 (patch) | |
tree | 76058e18d604ad1e3089fe35dd3cbc8c26f538cd /hw/usb | |
parent | daf25307b4f8c5c13b3a15059fbf9df55823bb72 (diff) | |
download | qemu-863b474163085a3df13e2c6bf8e696486f3a0c66.zip qemu-863b474163085a3df13e2c6bf8e696486f3a0c66.tar.gz qemu-863b474163085a3df13e2c6bf8e696486f3a0c66.tar.bz2 |
ehci: remove unused attach_poll_counter
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r-- | hw/usb/hcd-ehci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index f77a26d..ee7420f 100644 --- 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]) { |