aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSyam Sidhardhan <s.syam@samsung.com>2012-04-20 12:42:31 -0400
committerGustavo Padovan <gustavo@padovan.org>2012-05-09 00:40:51 -0400
commit2ee8ce35b1e8ba2523fa4c45fa19f9dbe321f008 (patch)
tree8ace550440476607a25899d15483688102b39534
parentba54a16ffacfc7121b6a799de1d08254cb0254b9 (diff)
Bluetooth: Remove unused hci_le_ltk_neg_reply()
No one is using hci_le_ltk_neg_reply() in bluetooth subsystem. Signed-off-by: Syam Sidhardhan <s.syam@samsung.com> Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
-rw-r--r--include/net/bluetooth/hci_core.h2
-rw-r--r--net/bluetooth/hci_conn.c14
2 files changed, 0 insertions, 16 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index e3547ea83619..b60d2c844eba 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1055,8 +1055,6 @@ void hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max,
1055 u16 latency, u16 to_multiplier); 1055 u16 latency, u16 to_multiplier);
1056void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __u8 rand[8], 1056void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __u8 rand[8],
1057 __u8 ltk[16]); 1057 __u8 ltk[16]);
1058void hci_le_ltk_neg_reply(struct hci_conn *conn);
1059
1060int hci_do_inquiry(struct hci_dev *hdev, u8 length); 1058int hci_do_inquiry(struct hci_dev *hdev, u8 length);
1061int hci_cancel_inquiry(struct hci_dev *hdev); 1059int hci_cancel_inquiry(struct hci_dev *hdev);
1062int hci_le_scan(struct hci_dev *hdev, u8 type, u16 interval, u16 window, 1060int hci_le_scan(struct hci_dev *hdev, u8 type, u16 interval, u16 window,
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c
index cae7ec2df7ad..3f18a6ed9731 100644
--- a/net/bluetooth/hci_conn.c
+++ b/net/bluetooth/hci_conn.c
@@ -223,20 +223,6 @@ void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __u8 rand[8],
223} 223}
224EXPORT_SYMBOL(hci_le_start_enc); 224EXPORT_SYMBOL(hci_le_start_enc);
225 225
226void hci_le_ltk_neg_reply(struct hci_conn *conn)
227{
228 struct hci_dev *hdev = conn->hdev;
229 struct hci_cp_le_ltk_neg_reply cp;
230
231 BT_DBG("%p", conn);
232
233 memset(&cp, 0, sizeof(cp));
234
235 cp.handle = cpu_to_le16(conn->handle);
236
237 hci_send_cmd(hdev, HCI_OP_LE_LTK_NEG_REPLY, sizeof(cp), &cp);
238}
239
240/* Device _must_ be locked */ 226/* Device _must_ be locked */
241void hci_sco_setup(struct hci_conn *conn, __u8 status) 227void hci_sco_setup(struct hci_conn *conn, __u8 status)
242{ 228{