|
@@ -62,7 +62,7 @@ static int __init br_init(void)
|
|
|
|
|
|
brioctl_set(br_ioctl_deviceless_stub);
|
|
|
|
|
|
-#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE)
|
|
|
+#if IS_ENABLED(CONFIG_ATM_LANE)
|
|
|
br_fdb_test_addr_hook = br_fdb_test_addr;
|
|
|
#endif
|
|
|
|
|
@@ -93,7 +93,7 @@ static void __exit br_deinit(void)
|
|
|
rcu_barrier(); /* Wait for completion of call_rcu()'s */
|
|
|
|
|
|
br_netfilter_fini();
|
|
|
-#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE)
|
|
|
+#if IS_ENABLED(CONFIG_ATM_LANE)
|
|
|
br_fdb_test_addr_hook = NULL;
|
|
|
#endif
|
|
|
|