aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-02 03:10:04 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-02 03:10:04 -0400
commit856f6ff7a3132c8e412b23a7b9157b68ac9a2baf (patch)
tree750014db3db30a0bf51f0d35389c59d45c5d673c /fs
parent225c0a0107735597100dc4133cd88c5ed10d9e63 (diff)
[NETNS]: Remove ifdef CONFIG_NET braces in fs/proc/proc_net.c.
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/proc_net.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c
index 7034facf8b8f..13cd7835d0df 100644
--- 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,
51} 51}
52EXPORT_SYMBOL_GPL(seq_open_net); 52EXPORT_SYMBOL_GPL(seq_open_net);
53 53
54#ifdef CONFIG_NET
55int seq_release_net(struct inode *ino, struct file *f) 54int seq_release_net(struct inode *ino, struct file *f)
56{ 55{
57 struct seq_file *seq; 56 struct seq_file *seq;
@@ -219,4 +218,3 @@ int __init proc_net_init(void)
219 218
220 return register_pernet_subsys(&proc_net_ns_ops); 219 return register_pernet_subsys(&proc_net_ns_ops);
221} 220}
222#endif /* CONFIG_NET */