static void ehci_queues_rip_device(EHCIState *ehci, USBDevice *dev)

{

    EHCIQueue *q, *tmp;



    QTAILQ_FOREACH_SAFE(q, &ehci->queues, next, tmp) {

        if (q->packet.owner == NULL ||

            q->packet.owner->dev != dev) {

            continue;

        }

        ehci_free_queue(q);

    }

}

static void ehci_queues_rip_device(EHCIState *ehci, USBDevice *dev)

{

    EHCIQueue *q, *tmp;



    QTAILQ_FOREACH_SAFE(q, &ehci->queues, next, tmp) {

        if (q->packet.owner == NULL ||

            q->packet.owner->dev != dev) {

            continue;

        }

        ehci_free_queue(q);

    }

}

        if (q->packet.owner == NULL ||             q->packet.owner->dev != dev) {
static void FUNC_0(EHCIState *VAR_0, USBDevice *VAR_1)

{

    EHCIQueue *q, *tmp;



    QTAILQ_FOREACH_SAFE(q, &VAR_0->queues, next, tmp) {

        if (q->packet.owner == NULL ||

            q->packet.owner->VAR_1 != VAR_1) {

            continue;

        }

        ehci_free_queue(q);

    }

}

static void FUNC_0(EHCIState *VAR_0, USBDevice *VAR_1)
{ EHCIQueue *q, *tmp; QTAILQ_FOREACH_SAFE(q, &VAR_0->queues, next, tmp) { if (q->packet.owner == NULL ||
q->packet.owner->VAR_1 != VAR_1) { continue; } ehci_free_queue(q); } }