Explorar o código

net: mark flow_cache_cpu_prepare() as __init

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>
Alexey Dobriyan %!s(int64=16) %!d(string=hai) anos
pai
achega
76acfdb9b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      net/core/flow.c

+ 1 - 1
net/core/flow.c

@@ -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;