summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-07-04 12:37:22 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-07-04 11:58:09 +0200
commitae44e5d19e870385d1e73ce248c19ea4761bb40c (patch)
treed61ab274ae8e93a6525f439842bb107c965782e2 /net/bluetooth/hci_core.c
parent95305baa779223060c7129100424da6c0d01045b (diff)
downloadop-kernel-dev-ae44e5d19e870385d1e73ce248c19ea4761bb40c.zip
op-kernel-dev-ae44e5d19e870385d1e73ce248c19ea4761bb40c.tar.gz
Bluetooth: Remove unused hci_pend_le_conn_del() function
Now that there are no-longer any users of the hci_pend_le_conn_del() function we can simply go ahead and remove it. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r--net/bluetooth/hci_core.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 3b0da6e..6eadde8 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -3461,16 +3461,6 @@ void hci_pend_le_conn_add(struct hci_dev *hdev, struct hci_conn_params *params)
}
/* This function requires the caller holds hdev->lock */
-void hci_pend_le_conn_del(struct hci_dev *hdev, struct hci_conn_params *params)
-{
- list_del_init(&params->action);
-
- BT_DBG("addr %pMR (type %u)", &params->addr, params->addr_type);
-
- hci_update_background_scan(hdev);
-}
-
-/* This function requires the caller holds hdev->lock */
void hci_pend_le_conns_clear(struct hci_dev *hdev)
{
while (!list_empty(&hdev->pend_le_conns))
OpenPOWER on IntegriCloud