Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Syam Sidhardhan and committed by
Gustavo Padovan
2ee8ce35 ba54a16f

-16
-2
include/net/bluetooth/hci_core.h
··· 1055 1055 u16 latency, u16 to_multiplier); 1056 1056 void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __u8 rand[8], 1057 1057 __u8 ltk[16]); 1058 - void hci_le_ltk_neg_reply(struct hci_conn *conn); 1059 - 1060 1058 int hci_do_inquiry(struct hci_dev *hdev, u8 length); 1061 1059 int hci_cancel_inquiry(struct hci_dev *hdev); 1062 1060 int hci_le_scan(struct hci_dev *hdev, u8 type, u16 interval, u16 window,
-14
net/bluetooth/hci_conn.c
··· 223 223 } 224 224 EXPORT_SYMBOL(hci_le_start_enc); 225 225 226 - void 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 226 /* Device _must_ be locked */ 241 227 void hci_sco_setup(struct hci_conn *conn, __u8 status) 242 228 {