From: Adrian Bunk Date: Fri, 26 Oct 2007 10:55:44 +0000 (-0700) Subject: [NET] fs/proc/proc_net.c: make a struct static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=253879e62f997d0027500f4b71ef290f37e306ee;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [NET] fs/proc/proc_net.c: make a struct static Struct proc_net_ns_ops can become static. Signed-off-by: Adrian Bunk Acked-by: "Eric W. Biederman" Signed-off-by: David S. Miller --- diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c index 2e91fb756e9a..4edaad0d995f 100644 --- a/fs/proc/proc_net.c +++ b/fs/proc/proc_net.c @@ -185,7 +185,7 @@ static __net_exit void proc_net_ns_exit(struct net *net) kfree(net->proc_net_root); } -struct pernet_operations __net_initdata proc_net_ns_ops = { +static struct pernet_operations __net_initdata proc_net_ns_ops = { .init = proc_net_ns_init, .exit = proc_net_ns_exit, };