mirror of https://github.com/xemu-project/xemu.git
ehci: remove unused attach_poll_counter
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
daf25307b4
commit
863b474163
|
@ -415,7 +415,6 @@ struct EHCIState {
|
||||||
*/
|
*/
|
||||||
QEMUTimer *frame_timer;
|
QEMUTimer *frame_timer;
|
||||||
QEMUBH *async_bh;
|
QEMUBH *async_bh;
|
||||||
int attach_poll_counter;
|
|
||||||
int astate; // Current state in asynchronous schedule
|
int astate; // Current state in asynchronous schedule
|
||||||
int pstate; // Current state in periodic schedule
|
int pstate; // Current state in periodic schedule
|
||||||
USBPort ports[NB_PORTS];
|
USBPort ports[NB_PORTS];
|
||||||
|
@ -984,7 +983,6 @@ static void ehci_reset(void *opaque)
|
||||||
|
|
||||||
s->astate = EST_INACTIVE;
|
s->astate = EST_INACTIVE;
|
||||||
s->pstate = EST_INACTIVE;
|
s->pstate = EST_INACTIVE;
|
||||||
s->attach_poll_counter = 0;
|
|
||||||
|
|
||||||
for(i = 0; i < NB_PORTS; i++) {
|
for(i = 0; i < NB_PORTS; i++) {
|
||||||
if (s->companion_ports[i]) {
|
if (s->companion_ports[i]) {
|
||||||
|
|
Loading…
Reference in New Issue