summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_request.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-11-12 03:48:44 +0300
committerMarcel Holtmann <marcel@holtmann.org>2021-11-16 17:13:34 +0300
commit9482c5074a7d0bec682cc35a12d687f185684f31 (patch)
treee95787ac0aadfd42c9e5cff0396a130606e4eaf2 /net/bluetooth/hci_request.h
parentf056a65783cce9c1279c1635d92768ce5962e4d6 (diff)
downloadlinux-9482c5074a7d0bec682cc35a12d687f185684f31.tar.xz
Bluetooth: hci_request: Remove bg_scan_update work
This work is no longer necessary since all the code using it has been converted to use hci_passive_scan/hci_passive_scan_sync. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_request.h')
-rw-r--r--net/bluetooth/hci_request.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/bluetooth/hci_request.h b/net/bluetooth/hci_request.h
index ba75c2da70f4..5f8e8846ec74 100644
--- a/net/bluetooth/hci_request.h
+++ b/net/bluetooth/hci_request.h
@@ -127,10 +127,5 @@ int hci_abort_conn(struct hci_conn *conn, u8 reason);
void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn,
u8 reason);
-static inline void hci_update_background_scan(struct hci_dev *hdev)
-{
- queue_work(hdev->req_workqueue, &hdev->bg_scan_update);
-}
-
void hci_request_setup(struct hci_dev *hdev);
void hci_request_cancel_all(struct hci_dev *hdev);