* [PATCH v1 2/5] Bluetooth: Remove unused hci_le_ltk_neg_reply()
@ 2012-04-20 16:42 Syam Sidhardhan
2012-05-03 6:06 ` Gustavo Padovan
0 siblings, 1 reply; 2+ messages in thread
From: Syam Sidhardhan @ 2012-04-20 16:42 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Syam Sidhardhan
No one is using hci_le_ltk_neg_reply() in bluetooth subsystem.
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
---
include/net/bluetooth/hci_core.h | 2 --
net/bluetooth/hci_conn.c | 14 --------------
2 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 6e170de..ed9eaba 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1069,8 +1069,6 @@ void hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max,
u16 latency, u16 to_multiplier);
void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __u8 rand[8],
__u8 ltk[16]);
-void hci_le_ltk_neg_reply(struct hci_conn *conn);
-
int hci_do_inquiry(struct hci_dev *hdev, u8 length);
int hci_cancel_inquiry(struct hci_dev *hdev);
int 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 74418ba..43e0d49 100644
--- a/net/bluetooth/hci_conn.c
+++ b/net/bluetooth/hci_conn.c
@@ -224,20 +224,6 @@ void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __u8 rand[8],
}
EXPORT_SYMBOL(hci_le_start_enc);
-void hci_le_ltk_neg_reply(struct hci_conn *conn)
-{
- struct hci_dev *hdev = conn->hdev;
- struct hci_cp_le_ltk_neg_reply cp;
-
- BT_DBG("%p", conn);
-
- memset(&cp, 0, sizeof(cp));
-
- cp.handle = cpu_to_le16(conn->handle);
-
- hci_send_cmd(hdev, HCI_OP_LE_LTK_NEG_REPLY, sizeof(cp), &cp);
-}
-
/* Device _must_ be locked */
void hci_sco_setup(struct hci_conn *conn, __u8 status)
{
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 2/5] Bluetooth: Remove unused hci_le_ltk_neg_reply()
2012-04-20 16:42 [PATCH v1 2/5] Bluetooth: Remove unused hci_le_ltk_neg_reply() Syam Sidhardhan
@ 2012-05-03 6:06 ` Gustavo Padovan
0 siblings, 0 replies; 2+ messages in thread
From: Gustavo Padovan @ 2012-05-03 6:06 UTC (permalink / raw)
To: Syam Sidhardhan; +Cc: linux-bluetooth
Hi Syam,
* Syam Sidhardhan <s.syam@samsung.com> [2012-04-20 22:12:31 +0530]:
> No one is using hci_le_ltk_neg_reply() in bluetooth subsystem.
>
> Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
> ---
> include/net/bluetooth/hci_core.h | 2 --
> net/bluetooth/hci_conn.c | 14 --------------
> 2 files changed, 0 insertions(+), 16 deletions(-)
Patch has been applied to bluetooth-next. Thanks.
Gustavo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-03 6:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20 16:42 [PATCH v1 2/5] Bluetooth: Remove unused hci_le_ltk_neg_reply() Syam Sidhardhan
2012-05-03 6:06 ` Gustavo Padovan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.