Skip to content

Commit 936daee

Browse files
committed
Bluetooth: Remove hci_request.{c,h}
This removes hci_request.{c,h} since it shall no longer be used. Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent f2d8977 commit 936daee

File tree

10 files changed

+5
-965
lines changed

10 files changed

+5
-965
lines changed

include/net/bluetooth/bluetooth.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,10 @@ typedef void (*hci_req_complete_t)(struct hci_dev *hdev, u8 status, u16 opcode);
441441
typedef void (*hci_req_complete_skb_t)(struct hci_dev *hdev, u8 status,
442442
u16 opcode, struct sk_buff *skb);
443443

444+
void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status,
445+
hci_req_complete_t *req_complete,
446+
hci_req_complete_skb_t *req_complete_skb);
447+
444448
#define HCI_REQ_START BIT(0)
445449
#define HCI_REQ_SKB BIT(1)
446450

net/bluetooth/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ bluetooth_6lowpan-y := 6lowpan.o
1414

1515
bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
1616
hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \
17-
ecdh_helper.o hci_request.o mgmt_util.o mgmt_config.o hci_codec.o \
18-
eir.o hci_sync.o
17+
ecdh_helper.o mgmt_util.o mgmt_config.o hci_codec.o eir.o hci_sync.o
1918

2019
bluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o
2120

net/bluetooth/hci_conn.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include <net/bluetooth/iso.h>
3535
#include <net/bluetooth/mgmt.h>
3636

37-
#include "hci_request.h"
3837
#include "smp.h"
3938
#include "eir.h"
4039

net/bluetooth/hci_core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include <net/bluetooth/l2cap.h>
4141
#include <net/bluetooth/mgmt.h>
4242

43-
#include "hci_request.h"
4443
#include "hci_debugfs.h"
4544
#include "smp.h"
4645
#include "leds.h"

net/bluetooth/hci_debugfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <net/bluetooth/hci_core.h>
2929

3030
#include "smp.h"
31-
#include "hci_request.h"
3231
#include "hci_debugfs.h"
3332

3433
#define DEFINE_QUIRK_ATTRIBUTE(__name, __quirk) \

net/bluetooth/hci_event.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
#include <net/bluetooth/hci_core.h>
3434
#include <net/bluetooth/mgmt.h>
3535

36-
#include "hci_request.h"
3736
#include "hci_debugfs.h"
3837
#include "hci_codec.h"
3938
#include "smp.h"

0 commit comments

Comments
 (0)