/* This function serves as the default handler for the sli4 unsolicited abort event. It shall be invoked when there is no application interface registered unsolicited abort handler. This handler does nothing but just simply releases the dma buffer used by the unsol abort event.  */
void lpfc_sli4_ct_abort_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, struct lpfc_iocbq *piocbq)
/* This function serves as the default handler for the sli4 unsolicited abort event. It shall be invoked when there is no application interface registered unsolicited abort handler. This handler does nothing but just simply releases the dma buffer used by the unsol abort event.  */
void lpfc_sli4_ct_abort_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, struct lpfc_iocbq *piocbq)
{
	IOCB_t *icmd = &piocbq->iocb;
	struct lpfc_dmabuf *bdeBuf;
	uint32_t size;
	lpfc_bsg_ct_unsol_event(phba, pring, piocbq);
	if (icmd->ulpBdeCount == 0)
		return;
	bdeBuf = piocbq->context2;
	piocbq->context2 = NULL;
	size  = icmd->un.cont64[0].tus.f.bdeSize;
	lpfc_ct_unsol_buffer(phba, piocbq, bdeBuf, size);
	lpfc_in_buf_free(phba, bdeBuf);
}