summaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorSimon Horman2011-04-05 04:25:03 +0200
committerSimon Horman2011-04-05 04:25:03 +0200
commite3f6a652fd0e828de586a3a87b56c07f7a32259a (patch)
treee2d31ea6a7642dc2879ab84cfca9fe19ee0764d5 /net/netfilter
parentnetfilter: get rid of atomic ops in fast path (diff)
downloadkernel-qcow2-linux-e3f6a652fd0e828de586a3a87b56c07f7a32259a.tar.gz
kernel-qcow2-linux-e3f6a652fd0e828de586a3a87b56c07f7a32259a.tar.xz
kernel-qcow2-linux-e3f6a652fd0e828de586a3a87b56c07f7a32259a.zip
IPVS: combine consecutive #ifdef CONFIG_PROC_FS blocks
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/ipvs/ip_vs_ctl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c
index 33733c8872e7..36f4495cfdbf 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);