/* Rport is deleted, waiting for firmware response to delete.  */
static void bfa_rport_sm_deleting(struct bfa_rport_s *rp, enum bfa_rport_event event)
/* Rport is deleted, waiting for firmware response to delete.  */
static void bfa_rport_sm_deleting(struct bfa_rport_s *rp, enum bfa_rport_event event)
{
	bfa_trc(rp->bfa, rp->rport_tag);
	bfa_trc(rp->bfa, event);
	switch (event) {
	case BFA_RPORT_SM_FWRSP:
		bfa_stats(rp, sm_del_fwrsp);
		bfa_sm_set_state(rp, bfa_rport_sm_uninit);
		bfa_rport_free(rp);
		break;
	case BFA_RPORT_SM_HWFAIL:
		bfa_stats(rp, sm_del_hwf);
		bfa_sm_set_state(rp, bfa_rport_sm_uninit);
		bfa_rport_free(rp);
		break;
	default:
		bfa_assert(0);
	}
}