diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-04-02 06:41:11 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-02 10:09:28 -0400 |
commit | abe66a4d036933c7376b40b0d7bb5de0458331aa (patch) | |
tree | e4716fc68827e76df7f8af2d6d6b807fd3f9547e | |
parent | f7d9e97592aeb7742084814c5f37e25571b2d51d (diff) |
Bluetooth: Remove unused hci_req_pending() function
The hci_req_pending() function has no users anymore, so simply remove
it.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r-- | include/net/bluetooth/hci_core.h | 2 | ||||
-rw-r--r-- | net/bluetooth/hci_core.c | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 4cefee0b6330..12686e8e9343 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -1284,8 +1284,6 @@ static inline int hci_check_conn_params(u16 min, u16 max, u16 latency, | |||
1284 | int hci_register_cb(struct hci_cb *hcb); | 1284 | int hci_register_cb(struct hci_cb *hcb); |
1285 | int hci_unregister_cb(struct hci_cb *hcb); | 1285 | int hci_unregister_cb(struct hci_cb *hcb); |
1286 | 1286 | ||
1287 | bool hci_req_pending(struct hci_dev *hdev); | ||
1288 | |||
1289 | struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, | 1287 | struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, |
1290 | const void *param, u32 timeout); | 1288 | const void *param, u32 timeout); |
1291 | struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, | 1289 | struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, |
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 6192f6e3242f..fda23720e7b8 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -3560,11 +3560,6 @@ static void hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) | |||
3560 | } | 3560 | } |
3561 | } | 3561 | } |
3562 | 3562 | ||
3563 | bool hci_req_pending(struct hci_dev *hdev) | ||
3564 | { | ||
3565 | return (hdev->req_status == HCI_REQ_PEND); | ||
3566 | } | ||
3567 | |||
3568 | /* Send HCI command */ | 3563 | /* Send HCI command */ |
3569 | int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, | 3564 | int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, |
3570 | const void *param) | 3565 | const void *param) |