From: Denis V. Lunev Date: Wed, 2 Apr 2008 07:10:04 +0000 (-0700) Subject: [NETNS]: Remove ifdef CONFIG_NET braces in fs/proc/proc_net.c. X-Git-Tag: MMI-PSA29.97-13-9~35608^2~231 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=856f6ff7a3132c8e412b23a7b9157b68ac9a2baf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 Signed-off-by: David S. Miller --- 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 */