aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_net.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-26 06:55:44 -0400
committerDavid S. Miller <davem@davemloft.net>2007-10-26 06:55:44 -0400
commit253879e62f997d0027500f4b71ef290f37e306ee (patch)
treedd73852dbfd21f7f162f71f36cce24d25d785289 /fs/proc/proc_net.c
parentc8d90dca3211966ba5189e0f3d4bccd558d9ae08 (diff)
[NET] fs/proc/proc_net.c: make a struct static
Struct proc_net_ns_ops can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/proc/proc_net.c')
-rw-r--r--fs/proc/proc_net.c2
1 files changed, 1 insertions, 1 deletions
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)
185 kfree(net->proc_net_root); 185 kfree(net->proc_net_root);
186} 186}
187 187
188struct pernet_operations __net_initdata proc_net_ns_ops = { 188static struct pernet_operations __net_initdata proc_net_ns_ops = {
189 .init = proc_net_ns_init, 189 .init = proc_net_ns_init,
190 .exit = proc_net_ns_exit, 190 .exit = proc_net_ns_exit,
191}; 191};