netfilter: replace defined(CONFIG...) || defined(CONFIG...MODULE) with IS_ENABLED...
authorJeremy Sowden <jeremy@azazel.net>
Fri, 13 Sep 2019 08:13:11 +0000 (09:13 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 Sep 2019 10:47:09 +0000 (12:47 +0200)
commit25d7cbcd2bb5d919b9ba6fcdfe788e72c2df7e6e
tree3e8af8ab67f09c960c6259c42dc9c92e8054e1c7
parent16b26cde6f12a759e59f267763c11bb1818d067e
netfilter: replace defined(CONFIG...) || defined(CONFIG...MODULE) with IS_ENABLED(CONFIG...).

A few headers contain instances of:

  #if defined(CONFIG_XXX) or defined(CONFIG_XXX_MODULE)

Replace them with:

  #if IS_ENABLED(CONFIG_XXX)

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h
include/linux/netfilter/ipset/ip_set_getport.h
include/net/netfilter/nf_conntrack_extend.h
include/net/netfilter/nf_nat.h