From: Gerd Hoffmann Date: Thu, 24 May 2012 14:48:04 +0000 (+0200) Subject: ehci: remove unused attach_poll_counter X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=863b474163085a3df13e2c6bf8e696486f3a0c66;p=qemu.git ehci: remove unused attach_poll_counter Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index f77a26d9d9..ee7420f0f7 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]) {