Skip to content

Commit

Permalink
net: mark flow_cache_cpu_prepare() as __init
Browse files Browse the repository at this point in the history
It's called from __init code only. And__devinit in generic networking code
is pretty strange :^)

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Nov 7, 2008
1 parent 9eeda9a commit 76acfdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ void flow_cache_flush(void)
put_online_cpus();
}

static void __devinit flow_cache_cpu_prepare(int cpu)
static void __init flow_cache_cpu_prepare(int cpu)
{
struct tasklet_struct *tasklet;
unsigned long order;
Expand Down

0 comments on commit 76acfdb

Please sign in to comment.