/* Check to see if there are any method tables for this class still in use  */
static int check_class_table(struct ib_mad_mgmt_class_table *class)
/* Check to see if there are any method tables for this class still in use  */
static int check_class_table(struct ib_mad_mgmt_class_table *class)
{
	int i;
	for (i = 0; i < MAX_MGMT_CLASS; i++)
		if (class->method_table[i])
			return 1;
	return 0;
}