projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d90dc
)
[NET] fs/proc/proc_net.c: make a struct static
author
Adrian Bunk
<bunk@kernel.org>
Fri, 26 Oct 2007 10:55:44 +0000
(
03:55
-0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 26 Oct 2007 10:55:44 +0000
(
03:55
-0700)
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>
fs/proc/proc_net.c
patch
|
blob
|
history
diff --git
a/fs/proc/proc_net.c
b/fs/proc/proc_net.c
index 2e91fb756e9ad27be30488bd88a5e5ac8856bf34..4edaad0d995ffa1f84af4b2a3856e14db622d313 100644
(file)
--- 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 = {
+st
atic st
ruct pernet_operations __net_initdata proc_net_ns_ops = {
.init = proc_net_ns_init,
.exit = proc_net_ns_exit,
};