vlan: use IS_ENABLED()
authorAmerigo Wang <amwang@redhat.com>
Mon, 29 Oct 2012 17:22:28 +0000 (17:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 16:41:35 +0000 (12:41 -0400)
commitf4d5392e5ff58bf706c47906b54cc4b7333fc22e
tree08429f07f3a701cf7583b163d846d447df63a6b1
parent07a936260a94ae4798527ce8f79d4f3b589ab8a3
vlan: 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>
net/8021q/vlan.c
net/8021q/vlan_dev.c