From: Jesper Dangaard Brouer Date: Wed, 26 Sep 2012 12:06:20 +0000 (+0200) Subject: ipvs: Use config macro IS_ENABLED() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a638e51437f5efd00c4579df56cfd4d497ed51a8;p=linux-beck.git ipvs: Use config macro IS_ENABLED() 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 Acked-by: Julian Anastasov Signed-off-by: Simon Horman --- diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index aba0bb2da92d..c8b2bdbaf91b 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -22,7 +22,7 @@ #include #include /* for struct ipv6hdr */ #include -#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) +#if IS_ENABLED(CONFIG_NF_CONNTRACK) #include #endif #include /* Netw namespace */