/* This function adds the number of hbq entries in every HBQ to get the total number of hbq entries required for the HBA and returns the total count.  */
static int lpfc_sli_hbq_entry_count(void)
/* This function adds the number of hbq entries in every HBQ to get the total number of hbq entries required for the HBA and returns the total count.  */
static int lpfc_sli_hbq_entry_count(void)
{
	int  hbq_count = lpfc_sli_hbq_count();
	int  count = 0;
	int  i;
	for (i = 0; i < hbq_count; ++i)
		count += lpfc_hbq_defs[i]->entry_count;
	return count;
}