diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-04 16:55:14 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-01-16 13:06:38 +0200 |
commit | 0026b6551b51a9520b912f41b8d447b89a825f5a (patch) | |
tree | d69b9b90bdbe8d84fe84262ce4d644a6f569f13c /include/net | |
parent | 2b8df323953bfbeb8289c56f43b7fcfa4c70e90a (diff) | |
download | linux-0026b6551b51a9520b912f41b8d447b89a825f5a.tar.gz linux-0026b6551b51a9520b912f41b8d447b89a825f5a.tar.bz2 linux-0026b6551b51a9520b912f41b8d447b89a825f5a.zip |
Bluetooth: Remove unused function
Remove the function hci_conn_change_link_key() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 1f21fe48b38e..7777124bff55 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -781,7 +781,6 @@ int hci_conn_check_link_mode(struct hci_conn *conn); int hci_conn_check_secure(struct hci_conn *conn, __u8 sec_level); int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, bool initiator); -int hci_conn_change_link_key(struct hci_conn *conn); int hci_conn_switch_role(struct hci_conn *conn, __u8 role); void hci_conn_enter_active_mode(struct hci_conn *conn, __u8 force_active); |