void scsi_req_dequeue(SCSIRequest *req)

{

    trace_scsi_req_dequeue(req->dev->id, req->lun, req->tag);

    if (req->enqueued) {

        QTAILQ_REMOVE(&req->dev->requests, req, next);

        req->enqueued = false;

        scsi_req_unref(req);

    }

}

void scsi_req_dequeue(SCSIRequest *req)

{

    trace_scsi_req_dequeue(req->dev->id, req->lun, req->tag);

    if (req->enqueued) {

        QTAILQ_REMOVE(&req->dev->requests, req, next);

        req->enqueued = false;

        scsi_req_unref(req);

    }

}

void scsi_req_dequeue(SCSIRequest *req)
void FUNC_0(SCSIRequest *VAR_0)

{

    trace_scsi_req_dequeue(VAR_0->dev->id, VAR_0->lun, VAR_0->tag);

    if (VAR_0->enqueued) {

        QTAILQ_REMOVE(&VAR_0->dev->requests, VAR_0, next);

        VAR_0->enqueued = false;

        scsi_req_unref(VAR_0);

    }

}

void FUNC_0(SCSIRequest *VAR_0)
{ trace_scsi_req_dequeue(VAR_0->dev->id, VAR_0->lun, VAR_0->tag); if (VAR_0->enqueued) { QTAILQ_REMOVE(&VAR_0->dev->requests, VAR_0, next); VAR_0->enqueued = false; scsi_req_unref(VAR_0); } }