/* This function does not setup any error status, that must be done before this function gets called.  */
static void ibmvfc_scsi_eh_done(struct ibmvfc_event *evt)
/* This function does not setup any error status, that must be done before this function gets called.  */
static void ibmvfc_scsi_eh_done(struct ibmvfc_event *evt)
{
	struct scsi_cmnd *cmnd = evt->cmnd;
	if (cmnd) {
		scsi_dma_unmap(cmnd);
		cmnd->scsi_done(cmnd);
	}
	if (evt->eh_comp)
		complete(evt->eh_comp);
	ibmvfc_free_event(evt);
}