OSDN Git Service

net: mark flow_cache_cpu_prepare() as __init
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 7 Nov 2008 07:06:44 +0000 (23:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Nov 2008 07:06:44 +0000 (23:06 -0800)
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>
net/core/flow.c

index 5cf8105..d323388 100644 (file)
@@ -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;