Bluetooth: Remove redundant ifdefs from keys.h
There is no need to ifdef type definitions and whole file is already under (CONFIG_BLUETOOTH_SMP) || defined(CONFIG_BLUETOOTH_BREDR). This improves file readability. Change-Id: I9bcceb01023f75e016ad71873f87b3393a09fe26 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
parent
79606bccf0
commit
89228d890c
1 changed files with 0 additions and 4 deletions
|
@ -57,17 +57,13 @@ struct bt_csrk {
|
|||
uint32_t cnt;
|
||||
};
|
||||
|
||||
#if defined(CONFIG_BLUETOOTH_BREDR)
|
||||
struct bt_link_key {
|
||||
uint8_t val[16];
|
||||
};
|
||||
#endif /* CONFIG_BLUETOOTH_BREDR */
|
||||
|
||||
struct bt_keys {
|
||||
bt_addr_le_t addr;
|
||||
#if defined(CONFIG_BLUETOOTH_SMP) || defined(CONFIG_BLUETOOTH_BREDR)
|
||||
uint8_t enc_size;
|
||||
#endif /* CONFIG_BLUETOOTH_SMP || CONFIG_BLUETOOTH_BREDR */
|
||||
ATOMIC_DEFINE(flags, BT_KEYS_NUM_FLAGS);
|
||||
uint16_t keys;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue