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:
Szymon Janc 2016-08-03 16:39:38 +02:00 committed by Inaky Perez-Gonzalez
commit 89228d890c

View file

@ -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;