[V4,3/7] ipvs: Use config macro IS_ENABLED()

Submitted by Jesper Dangaard Brouer on Sept. 26, 2012, 12:06 p.m.


Message ID 20120926120616.24804.45927.stgit@dragon
State Not Applicable
Headers show

Commit Message

Jesper Dangaard Brouer Sept. 26, 2012, 12:06 p.m.
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@redhat.com>

 include/net/ip_vs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

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>
 #include <net/netfilter/nf_conntrack.h>
 #include <net/net_namespace.h>		/* Netw namespace */