提交 856f6ff7 编写于 作者: D Denis V. Lunev 提交者: David S. Miller

[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: NDenis V. Lunev <den@openvz.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 225c0a01
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册