summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-02 00:10:04 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-02 00:10:04 -0700
commit856f6ff7a3132c8e412b23a7b9157b68ac9a2baf (patch)
tree750014db3db30a0bf51f0d35389c59d45c5d673c
parent225c0a0107735597100dc4133cd88c5ed10d9e63 (diff)
downloadlinux-856f6ff7a3132c8e412b23a7b9157b68ac9a2baf.tar.gz
linux-856f6ff7a3132c8e412b23a7b9157b68ac9a2baf.tar.bz2
linux-856f6ff7a3132c8e412b23a7b9157b68ac9a2baf.zip
[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>
-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,
}
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 */