Skip to content

Commit

Permalink
Bluetooth: Remove hci_request.{c,h}
Browse files Browse the repository at this point in the history
This removes hci_request.{c,h} since it shall no longer be used.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  • Loading branch information
Vudentz committed Jul 15, 2024
1 parent f2d8977 commit 936daee
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 965 deletions.
4 changes: 4 additions & 0 deletions include/net/bluetooth/bluetooth.h
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,10 @@ typedef void (*hci_req_complete_t)(struct hci_dev *hdev, u8 status, u16 opcode);
typedef void (*hci_req_complete_skb_t)(struct hci_dev *hdev, u8 status,
u16 opcode, struct sk_buff *skb);

void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status,
hci_req_complete_t *req_complete,
hci_req_complete_skb_t *req_complete_skb);

#define HCI_REQ_START BIT(0)
#define HCI_REQ_SKB BIT(1)

Expand Down
3 changes: 1 addition & 2 deletions net/bluetooth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ bluetooth_6lowpan-y := 6lowpan.o

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

bluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o

Expand Down
1 change: 0 additions & 1 deletion net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <net/bluetooth/iso.h>
#include <net/bluetooth/mgmt.h>

#include "hci_request.h"
#include "smp.h"
#include "eir.h"

Expand Down
1 change: 0 additions & 1 deletion net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <net/bluetooth/l2cap.h>
#include <net/bluetooth/mgmt.h>

#include "hci_request.h"
#include "hci_debugfs.h"
#include "smp.h"
#include "leds.h"
Expand Down
1 change: 0 additions & 1 deletion net/bluetooth/hci_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <net/bluetooth/hci_core.h>

#include "smp.h"
#include "hci_request.h"
#include "hci_debugfs.h"

#define DEFINE_QUIRK_ATTRIBUTE(__name, __quirk) \
Expand Down
1 change: 0 additions & 1 deletion net/bluetooth/hci_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include <net/bluetooth/hci_core.h>
#include <net/bluetooth/mgmt.h>

#include "hci_request.h"
#include "hci_debugfs.h"
#include "hci_codec.h"
#include "smp.h"
Expand Down
Loading

0 comments on commit 936daee

Please sign in to comment.