Skip to content

Commit 3063f18

Browse files
jhedbergaescolar
authored andcommitted
Bluetooth: Host: Remove unnecessary hci_driver.h includes
None of these files actually use anything from the hci_driver.h header file. Signed-off-by: Johan Hedberg <[email protected]>
1 parent 4558056 commit 3063f18

File tree

10 files changed

+0
-20
lines changed

10 files changed

+0
-20
lines changed

drivers/bluetooth/hci/h4_ifx_cyw43xxx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <zephyr/kernel.h>
1616
#include <zephyr/device.h>
1717
#include <zephyr/bluetooth/bluetooth.h>
18-
#include <zephyr/drivers/bluetooth/hci_driver.h>
1918
#include <zephyr/drivers/gpio.h>
2019
#include <zephyr/drivers/uart.h>
2120

samples/bluetooth/hci_uart_3wire/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <zephyr/bluetooth/hci.h>
2929
#include <zephyr/bluetooth/buf.h>
3030
#include <zephyr/bluetooth/hci_raw.h>
31-
#include <zephyr/drivers/bluetooth/hci_driver.h>
3231

3332
#define LOG_MODULE_NAME hci_uart_3wire
3433
LOG_MODULE_REGISTER(LOG_MODULE_NAME);

samples/bluetooth/hci_uart_async/src/hci_uart_async.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <zephyr/sys/__assert.h>
77
#include <zephyr/sys/time_units.h>
88
#include <zephyr/toolchain/common.h>
9-
#include <zephyr/drivers/bluetooth/hci_driver.h>
109
#include <errno.h>
1110
#include <stddef.h>
1211
#include <string.h>

subsys/bluetooth/host/att.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include <zephyr/bluetooth/uuid.h>
2020
#include <zephyr/bluetooth/att.h>
2121
#include <zephyr/bluetooth/gatt.h>
22-
#include <zephyr/drivers/bluetooth/hci_driver.h>
2322

2423
#include "common/bt_str.h"
2524

subsys/bluetooth/host/classic/l2cap_br.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <zephyr/bluetooth/hci.h>
1818
#include <zephyr/bluetooth/bluetooth.h>
1919
#include <zephyr/bluetooth/conn.h>
20-
#include <zephyr/drivers/bluetooth/hci_driver.h>
2120

2221
#include "host/buf_view.h"
2322
#include "host/hci_core.h"

subsys/bluetooth/host/classic/rfcomm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <zephyr/bluetooth/hci.h>
1818
#include <zephyr/bluetooth/bluetooth.h>
1919
#include <zephyr/bluetooth/conn.h>
20-
#include <zephyr/drivers/bluetooth/hci_driver.h>
2120
#include <zephyr/bluetooth/l2cap.h>
2221

2322
#include <zephyr/bluetooth/classic/rfcomm.h>

subsys/bluetooth/host/gatt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include <zephyr/bluetooth/conn.h>
3838
#include <zephyr/bluetooth/uuid.h>
3939
#include <zephyr/bluetooth/gatt.h>
40-
#include <zephyr/drivers/bluetooth/hci_driver.h>
4140

4241
#include "common/bt_str.h"
4342

subsys/bluetooth/host/id.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <zephyr/bluetooth/bluetooth.h>
1818
#include <zephyr/bluetooth/hci_vs.h>
1919
#include <zephyr/bluetooth/buf.h>
20-
#include <zephyr/drivers/bluetooth/hci_driver.h>
2120
#include <zephyr/sys/__assert.h>
2221

2322
#include "hci_core.h"

subsys/bluetooth/host/l2cap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include <zephyr/bluetooth/bluetooth.h>
2424
#include <zephyr/bluetooth/conn.h>
2525
#include <zephyr/bluetooth/l2cap.h>
26-
#include <zephyr/drivers/bluetooth/hci_driver.h>
2726

2827
#define LOG_DBG_ENABLED IS_ENABLED(CONFIG_BT_L2CAP_LOG_LEVEL_DBG)
2928

tests/bluetooth/host/conn/mocks/zephyr/include/zephyr/drivers/bluetooth/hci_driver.h

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)