/* fc_fcp_destory() - Tear down the FCP layer for a given local port @lport: The local port that no longer needs the FCP layer  */
void fc_fcp_destroy(struct fc_lport *lport)
/* fc_fcp_destory() - Tear down the FCP layer for a given local port @lport: The local port that no longer needs the FCP layer  */
void fc_fcp_destroy(struct fc_lport *lport)
{
	struct fc_fcp_internal *si = fc_get_scsi_internal(lport);
	if (!list_empty(&si->scsi_pkt_queue))
		printk(KERN_ERR "libfc: Leaked SCSI packets when destroying "
		       "port (%6x)\n", fc_host_port_id(lport->host));
	mempool_destroy(si->scsi_pkt_pool);
	kfree(si);
	lport->scsi_priv = NULL;
}