IPVS: combine consecutive #ifdef CONFIG_PROC_FS blocks
Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
@@ -1984,9 +1984,6 @@ static const struct file_operations ip_vs_info_fops = {
|
|||||||
.release = seq_release_private,
|
.release = seq_release_private,
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_PROC_FS
|
|
||||||
static int ip_vs_stats_show(struct seq_file *seq, void *v)
|
static int ip_vs_stats_show(struct seq_file *seq, void *v)
|
||||||
{
|
{
|
||||||
struct net *net = seq_file_single_net(seq);
|
struct net *net = seq_file_single_net(seq);
|
||||||
|
Reference in New Issue
Block a user