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:
225c0a0
)
[NETNS]: Remove ifdef CONFIG_NET braces in fs/proc/proc_net.c.
author
Denis V. Lunev
<den@openvz.org>
Wed, 2 Apr 2008 07:10:04 +0000
(
00:10
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Apr 2008 07:10:04 +0000
(
00:10
-0700)
They are redundant as this file is linked in iff CONFIG_NET is turned
on.
Signed-off-by: Denis V. Lunev <den@openvz.org>
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 7034facf8b8f553aa211324bbaf1da103f5dda9e..13cd7835d0dfdc5027c61df7270bbb61d51d2273 100644
(file)
--- a/
fs/proc/proc_net.c
+++ b/
fs/proc/proc_net.c
@@
-51,7
+51,6
@@
int seq_open_net(struct inode *ino, struct file *f,
}
EXPORT_SYMBOL_GPL(seq_open_net);
-#ifdef CONFIG_NET
int seq_release_net(struct inode *ino, struct file *f)
{
struct seq_file *seq;
@@
-219,4
+218,3
@@
int __init proc_net_init(void)
return register_pernet_subsys(&proc_net_ns_ops);
}
-#endif /* CONFIG_NET */