aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-07-04 12:37:25 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-07-04 11:58:09 +0200
commitd9b3ad7df101a6490272771f1aabbaa623a196f3 (patch)
tree7fb9d423680edd8e623da95a0a67fb117cf6c2f1 /net/bluetooth
parentBluetooth: Remove unnecessary usage of hci_pend_le_conn_add (diff)
downloadlinux-dev-d9b3ad7df101a6490272771f1aabbaa623a196f3.tar.xz
linux-dev-d9b3ad7df101a6490272771f1aabbaa623a196f3.zip
Bluetooth: Remove unused hci_pend_le_conn_add function
Since there are no more users of this 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')
-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 3a1a25dcb2bc..38a0c5cd0ee4 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -3461,16 +3461,6 @@ struct hci_conn_params *hci_pend_le_conn_lookup(struct hci_dev *hdev,
}
/* This function requires the caller holds hdev->lock */
-void hci_pend_le_conn_add(struct hci_dev *hdev, struct hci_conn_params *params)
-{
- list_del_init(&params->action);
- list_add(&params->action, &hdev->pend_le_conns);
-
- BT_DBG("addr %pMR (type %u)", &params->addr, params->addr_type);
-
- hci_update_background_scan(hdev);
-}
-
struct hci_conn_params *hci_conn_params_add(struct hci_dev *hdev,
bdaddr_t *addr, u8 addr_type)
{