/* fc_exch_mgr_free() - Free all exchange managers on a local port @lport:  */
void fc_exch_mgr_free(struct fc_lport *lport)
/* fc_exch_mgr_free() - Free all exchange managers on a local port @lport:  */
void fc_exch_mgr_free(struct fc_lport *lport)
{
	struct fc_exch_mgr_anchor *ema, *next;
	flush_workqueue(fc_exch_workqueue);
	list_for_each_entry_safe(ema, next, &lport->ema_list, ema_list)
		fc_exch_mgr_del(ema);
}