/* Finds offset of next category of transitions in transition table. Returns the start index of next category.  */
static u16 __init llc_find_next_offset(struct llc_conn_state *state, u16 offset)
/* Finds offset of next category of transitions in transition table. Returns the start index of next category.  */
static u16 __init llc_find_next_offset(struct llc_conn_state *state, u16 offset)
{
	u16 cnt = 0;
	struct llc_conn_state_trans **next_trans;
	for (next_trans = state->transitions + offset;
	     (*next_trans)->ev; next_trans++)
		++cnt;
	return cnt;
}