]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ipv6: use IS_ENABLED()
authorAmerigo Wang <amwang@redhat.com>
Mon, 29 Oct 2012 16:23:10 +0000 (16:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 16:41:35 +0000 (12:41 -0400)
commit07a936260a94ae4798527ce8f79d4f3b589ab8a3
treebf8ff84c3045cd3b8b2b2970a6c7491439172939
parentcc535dfb6a85b42218307c43f60668d7bd6f4318
ipv6: use IS_ENABLED()

#if defined(CONFIG_FOO) || defined(CONFIG_FOO_MODULE)

can be replaced by

#if IS_ENABLED(CONFIG_FOO)

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
15 files changed:
net/ipv6/addrconf.c
net/ipv6/ah6.c
net/ipv6/datagram.c
net/ipv6/exthdrs.c
net/ipv6/icmp.c
net/ipv6/ip6_output.c
net/ipv6/ipv6_sockglue.c
net/ipv6/netfilter/ip6_tables.c
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
net/ipv6/netfilter/nf_nat_proto_icmpv6.c
net/ipv6/raw.c
net/ipv6/xfrm6_policy.c
net/ipv6/xfrm6_state.c