/* Check to see if there are any methods still in use  */
static int check_method_table(struct ib_mad_mgmt_method_table *method)
/* Check to see if there are any methods still in use  */
static int check_method_table(struct ib_mad_mgmt_method_table *method)
{
	int i;
	for (i = 0; i < IB_MGMT_MAX_METHODS; i++)
		if (method->agent[i])
			return 1;
	return 0;
}