summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_fdb.c
diff options
context:
space:
mode:
authorIgor Maravić <igorm@etf.rs>2011-12-12 03:58:25 +0100
committerDavid S. Miller <davem@davemloft.net>2011-12-16 21:49:52 +0100
commite6373c4c0ecb3a944c34117a3daeac315d641b5f (patch)
tree25f21dc82327c56474b0e894c832faef084c176b /net/bridge/br_fdb.c
parentnet:netfilter: use IS_ENABLED (diff)
downloadlinux-e6373c4c0ecb3a944c34117a3daeac315d641b5f.tar.xz
linux-e6373c4c0ecb3a944c34117a3daeac315d641b5f.zip
net:bridge: use IS_ENABLED
Use IS_ENABLED(CONFIG_FOO) instead of defined(CONFIG_FOO) || defined (CONFIG_FOO_MODULE) Signed-off-by: Igor Maravić <igorm@etf.rs> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_fdb.c')
-rw-r--r--net/bridge/br_fdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
index a1429afca443..f963f6b1884f 100644
--- a/net/bridge/br_fdb.c
+++ b/net/bridge/br_fdb.c
@@ -247,7 +247,7 @@ struct net_bridge_fdb_entry *__br_fdb_get(struct net_bridge *br,
return NULL;
}
-#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE)
+#if IS_ENABLED(CONFIG_ATM_LANE)
/* Interface used by ATM LANE hook to test
* if an addr is on some other bridge port */
int br_fdb_test_addr(struct net_device *dev, unsigned char *addr)