diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-07 02:55:47 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-07 03:19:16 -0400 |
commit | 7892924c7d5d74be8ad52316000a78fe96379044 (patch) | |
tree | 0982fd976afb14661ccdbdd21ce214cc3567c715 /include | |
parent | 3eec705e42d19b3d3e367fcb88693c24175bdbc6 (diff) |
Bluetooth: Make mgmt_disconnect_failed() return void
The return value of mgmt_disconnect_failed() function is not used
so change it to just return void.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 62e2fc1bc7cc..429969fdb9f3 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -1106,8 +1106,8 @@ int mgmt_device_connected(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, | |||
1106 | u8 *dev_class); | 1106 | u8 *dev_class); |
1107 | int mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr, | 1107 | int mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr, |
1108 | u8 link_type, u8 addr_type, u8 reason); | 1108 | u8 link_type, u8 addr_type, u8 reason); |
1109 | int mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, | 1109 | void mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, |
1110 | u8 link_type, u8 addr_type, u8 status); | 1110 | u8 link_type, u8 addr_type, u8 status); |
1111 | int mgmt_connect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, | 1111 | int mgmt_connect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, |
1112 | u8 addr_type, u8 status); | 1112 | u8 addr_type, u8 status); |
1113 | int mgmt_pin_code_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 secure); | 1113 | int mgmt_pin_code_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 secure); |