From: Arnaldo Carvalho de Melo Date: Thu, 22 Sep 2005 06:57:55 +0000 (-0300) Subject: [LLC]: Mark llc_find_next_offset as __init, saving some more bytes X-Git-Tag: v2.6.14-rc3~103^2^2~17 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0eb8017242cb7e8b18af4751b03646436b8f90e3;p=linux-2.6-omap-h63xx.git [LLC]: Mark llc_find_next_offset as __init, saving some more bytes Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/net/llc/llc_conn.c b/net/llc/llc_conn.c index 4c644bc70ea..1f659e56d8e 100644 --- a/net/llc/llc_conn.c +++ b/net/llc/llc_conn.c @@ -544,14 +544,14 @@ u8 llc_data_accept_state(u8 state) } /** - * find_next_offset - finds offset for next category of transitions + * llc_find_next_offset - finds offset for next category of transitions * @state: state table. * @offset: start offset. * * Finds offset of next category of transitions in transition table. * Returns the start index of next category. */ -static u16 find_next_offset(struct llc_conn_state *state, u16 offset) +static u16 __init llc_find_next_offset(struct llc_conn_state *state, u16 offset) { u16 cnt = 0; struct llc_conn_state_trans **next_trans; @@ -578,8 +578,8 @@ void __init llc_build_offset_table(void) next_offset = 0; for (ev_type = 0; ev_type < NBR_CONN_EV; ev_type++) { llc_offset_table[state][ev_type] = next_offset; - next_offset += find_next_offset(curr_state, - next_offset) + 1; + next_offset += llc_find_next_offset(curr_state, + next_offset) + 1; } } }