aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_net.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-26 03:55:44 -0700
committerDavid S. Miller <davem@davemloft.net>2007-10-26 03:55:44 -0700
commit253879e62f997d0027500f4b71ef290f37e306ee (patch)
treedd73852dbfd21f7f162f71f36cce24d25d785289 /fs/proc/proc_net.c
parent[NET] dev_change_name: ignore changes to same name (diff)
downloadlinux-dev-253879e62f997d0027500f4b71ef290f37e306ee.tar.xz
linux-dev-253879e62f997d0027500f4b71ef290f37e306ee.zip
[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 '')
-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)
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,
};