提交 863b4741 编写于 作者: G Gerd Hoffmann

ehci: remove unused attach_poll_counter

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 daf25307
......@@ -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]) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册