/* Called by itnim to clean up IO while going offline.  */
void bfa_ioim_cleanup(struct bfa_ioim_s *ioim)
/* Called by itnim to clean up IO while going offline.  */
void bfa_ioim_cleanup(struct bfa_ioim_s *ioim)
{
	bfa_trc(ioim->bfa, ioim->iotag);
	bfa_fcpim_stats(ioim->fcpim, io_cleanups);
	ioim->iosp->tskim = NULL;
	bfa_sm_send_event(ioim, BFA_IOIM_SM_CLEANUP);
}