diff mbox series

[1/1] Bluetooth: Delete unused hci_req_prepare_suspend() declaration

Message ID 20230826081313.3431523-1-xiaokeqinhealth@126.com
State New
Headers show
Series [1/1] Bluetooth: Delete unused hci_req_prepare_suspend() declaration | expand

Commit Message

Felix Qin Aug. 26, 2023, 8:13 a.m. UTC
From: Yao Xiao <xiaoyao@rock-chips.com>

hci_req_prepare_suspend() has been deprecated in favor of
hci_suspend_sync().

Fixes: 182ee45da083 ("Bluetooth: hci_sync: Rework hci_suspend_notifier")
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
---
 net/bluetooth/hci_request.h | 2 --
 1 file changed, 2 deletions(-)

Comments

patchwork-bot+bluetooth@kernel.org Aug. 28, 2023, 6:40 p.m. UTC | #1
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Sat, 26 Aug 2023 16:13:13 +0800 you wrote:
> From: Yao Xiao <xiaoyao@rock-chips.com>
> 
> hci_req_prepare_suspend() has been deprecated in favor of
> hci_suspend_sync().
> 
> Fixes: 182ee45da083 ("Bluetooth: hci_sync: Rework hci_suspend_notifier")
> Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
> 
> [...]

Here is the summary with links:
  - [1/1] Bluetooth: Delete unused hci_req_prepare_suspend() declaration
    https://git.kernel.org/bluetooth/bluetooth-next/c/12299967998d

You are awesome, thank you!
diff mbox series

Patch

diff --git a/net/bluetooth/hci_request.h b/net/bluetooth/hci_request.h
index b9c5a9823837..0be75cf0efed 100644
--- a/net/bluetooth/hci_request.h
+++ b/net/bluetooth/hci_request.h
@@ -71,7 +71,5 @@  struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen,
 void hci_req_add_le_scan_disable(struct hci_request *req, bool rpa_le_conn);
 void hci_req_add_le_passive_scan(struct hci_request *req);
 
-void hci_req_prepare_suspend(struct hci_dev *hdev, enum suspended_state next);
-
 void hci_request_setup(struct hci_dev *hdev);
 void hci_request_cancel_all(struct hci_dev *hdev);