lvs-devel
|
To: | Hans Schillstrom <hans@xxxxxxxxxxxxxxx>, Hans Schillstrom <hans.schillstrom@xxxxxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>, lvs-devel@xxxxxxxxxxxxxxx, Julian Anastasov <ja@xxxxxx> |
---|---|
Subject: | [PATCH V4 3/7] ipvs: Use config macro IS_ENABLED() |
Cc: | Jesper Dangaard Brouer <brouer@xxxxxxxxxx>, "Patrick McHardy" <kaber@xxxxxxxxx>, Thomas Graf <tgraf@xxxxxxx>, Wensong Zhang <wensong@xxxxxxxxxxxx>, netfilter-devel@xxxxxxxxxxxxxxx, Simon Horman <horms@xxxxxxxxxxxx> |
From: | Jesper Dangaard Brouer <brouer@xxxxxxxxxx> |
Date: | Wed, 26 Sep 2012 14:06:20 +0200 |
Cleanup patch. Use the IS_ENABLED macro, instead of having to check both the build and the module CONFIG_ option. Signed-off-by: Jesper Dangaard Brouer <brouer@xxxxxxxxxx> --- include/net/ip_vs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index aba0bb2..c8b2bdb 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -22,7 +22,7 @@ #include <linux/ip.h> #include <linux/ipv6.h> /* for struct ipv6hdr */ #include <net/ipv6.h> -#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) +#if IS_ENABLED(CONFIG_NF_CONNTRACK) #include <net/netfilter/nf_conntrack.h> #endif #include <net/net_namespace.h> /* Netw namespace */ -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html |
Previous by Date: | [PATCH V4 0/7] ipvs: IPv6 fragment handling for IPVS, Jesper Dangaard Brouer |
---|---|
Next by Date: | [PATCH V4 4/7] ipvs: Fix faulty IPv6 extension header handling in IPVS, Jesper Dangaard Brouer |
Previous by Thread: | [PATCH V4 2/7] ipvs: IPv6 extend ICMPv6 handling for future types, Jesper Dangaard Brouer |
Next by Thread: | [PATCH V4 4/7] ipvs: Fix faulty IPv6 extension header handling in IPVS, Jesper Dangaard Brouer |
Indexes: | [Date] [Thread] [Top] [All Lists] |