static void ohci_async_cancel_device(OHCIState *ohci, USBDevice *dev)

{

    if (ohci->async_td &&

        ohci->usb_packet.owner != NULL &&

        ohci->usb_packet.owner->dev == dev) {

        usb_cancel_packet(&ohci->usb_packet);

        ohci->async_td = 0;

    }

}

static void ohci_async_cancel_device(OHCIState *ohci, USBDevice *dev)

{

    if (ohci->async_td &&

        ohci->usb_packet.owner != NULL &&

        ohci->usb_packet.owner->dev == dev) {

        usb_cancel_packet(&ohci->usb_packet);

        ohci->async_td = 0;

    }

}

        ohci->usb_packet.owner != NULL &&         ohci->usb_packet.owner->dev == dev) {
static void FUNC_0(OHCIState *VAR_0, USBDevice *VAR_1)

{

    if (VAR_0->async_td &&

        VAR_0->usb_packet.owner != NULL &&

        VAR_0->usb_packet.owner->VAR_1 == VAR_1) {

        usb_cancel_packet(&VAR_0->usb_packet);

        VAR_0->async_td = 0;

    }

}

static void FUNC_0(OHCIState *VAR_0, USBDevice *VAR_1)
{ if (VAR_0->async_td &&
VAR_0->usb_packet.owner != NULL &&
VAR_0->usb_packet.owner->VAR_1 == VAR_1) { usb_cancel_packet(&VAR_0->usb_packet); VAR_0->async_td = 0; } }