diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-02 03:10:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-02 03:10:04 -0400 |
commit | 856f6ff7a3132c8e412b23a7b9157b68ac9a2baf (patch) | |
tree | 750014db3db30a0bf51f0d35389c59d45c5d673c /fs/proc | |
parent | 225c0a0107735597100dc4133cd88c5ed10d9e63 (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/proc')
-rw-r--r-- | fs/proc/proc_net.c | 2 |
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 | } |
52 | EXPORT_SYMBOL_GPL(seq_open_net); | 52 | EXPORT_SYMBOL_GPL(seq_open_net); |
53 | 53 | ||
54 | #ifdef CONFIG_NET | ||
55 | int seq_release_net(struct inode *ino, struct file *f) | 54 | int 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 */ | ||