Skip to content

Commit af77efb

Browse files
jhedbergkartben
authored andcommitted
Bluetooth: Host: Remove unnecessary ifdef from cs.c
The building of cs.c based on the respective Kconfig option is already taken care of CMakeLists.txt, so it's redundant to try to protect the code through ifdefs in the c-file as well. Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
1 parent 673853a commit af77efb

File tree

1 file changed

+0
-3
lines changed
  • subsys/bluetooth/host

1 file changed

+0
-3
lines changed

subsys/bluetooth/host/cs.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#define LOG_LEVEL CONFIG_BT_HCI_CORE_LOG_LEVEL
3030
LOG_MODULE_REGISTER(bt_cs);
3131

32-
#if defined(CONFIG_BT_CHANNEL_SOUNDING)
3332
#if defined(CONFIG_BT_CHANNEL_SOUNDING_TEST)
3433
static struct bt_le_cs_test_cb cs_test_callbacks;
3534
#endif
@@ -1479,5 +1478,3 @@ int bt_le_cs_get_antenna_path(uint8_t n_ap,
14791478
return -EINVAL;
14801479
}
14811480
}
1482-
1483-
#endif /* CONFIG_BT_CHANNEL_SOUNDING */

0 commit comments

Comments
 (0)