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)
#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>

No differences found