/* Th function frees statistical data buffer of all the FC nodes of the vport.  */
void lpfc_free_bucket(struct lpfc_vport *vport)
/* Th function frees statistical data buffer of all the FC nodes of the vport.  */
void lpfc_free_bucket(struct lpfc_vport *vport)
{
	struct lpfc_nodelist *ndlp = NULL, *next_ndlp = NULL;
	list_for_each_entry_safe(ndlp, next_ndlp, &vport->fc_nodes, nlp_listp) {
		if (!NLP_CHK_NODE_ACT(ndlp))
			continue;
		kfree(ndlp->lat_data);
		ndlp->lat_data = NULL;
	}
}