Patchwork IPVS: combine consecutive #ifdef CONFIG_PROC_FS blocks

login
register
mail settings
Submitter Simon Horman
Date April 5, 2011, 3:22 a.m.
Message ID <1301973732-8989-2-git-send-email-horms@verge.net.au>
Download mbox | patch
Permalink /patch/89760/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Simon Horman - April 5, 2011, 3:22 a.m.
Signed-off-by: Simon Horman <horms@verge.net.au>
---
 net/netfilter/ipvs/ip_vs_ctl.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Patch

diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c
index 33733c8..36f4495 100644
--- a/net/netfilter/ipvs/ip_vs_ctl.c
+++ b/net/netfilter/ipvs/ip_vs_ctl.c
@@ -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);