IPVS: combine consecutive #ifdef CONFIG_PROC_FS blocks
authorSimon Horman <horms@verge.net.au>
Tue, 5 Apr 2011 02:25:03 +0000 (11:25 +0900)
committerSimon Horman <horms@verge.net.au>
Tue, 5 Apr 2011 02:25:03 +0000 (11:25 +0900)
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_ctl.c

index 33733c8..36f4495 100644 (file)
@@ -1984,9 +1984,6 @@ static const struct file_operations ip_vs_info_fops = {
        .release = seq_release_private,
 };
 
-#endif
-
-#ifdef CONFIG_PROC_FS
 static int ip_vs_stats_show(struct seq_file *seq, void *v)
 {
        struct net *net = seq_file_single_net(seq);