aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-07 02:55:45 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-07 03:19:12 -0400
commitbf6b56db0acbe844c96fe36ab65eb7a53c6d8654 (patch)
tree807ab25cf97d1e66a774abecbe9b0d73c6d4b3e0 /include/net
parent5559435654776359679613f69f1c0a2895603a69 (diff)
Bluetooth: Make mgmt_index_added() and mgmt_index_removed() return void
The return value from mgmt_index_added() and mgmt_index_removed() functions is never used. So do not pretend that returning an error would actually be handled and just make both functions return void. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index d80d4311ccb0..1e6f584d5149 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1092,8 +1092,8 @@ void hci_sock_dev_event(struct hci_dev *hdev, int event);
1092#define DISCOV_BREDR_INQUIRY_LEN 0x08 1092#define DISCOV_BREDR_INQUIRY_LEN 0x08
1093 1093
1094int mgmt_control(struct sock *sk, struct msghdr *msg, size_t len); 1094int mgmt_control(struct sock *sk, struct msghdr *msg, size_t len);
1095int mgmt_index_added(struct hci_dev *hdev); 1095void mgmt_index_added(struct hci_dev *hdev);
1096int mgmt_index_removed(struct hci_dev *hdev); 1096void mgmt_index_removed(struct hci_dev *hdev);
1097int mgmt_set_powered_failed(struct hci_dev *hdev, int err); 1097int mgmt_set_powered_failed(struct hci_dev *hdev, int err);
1098int mgmt_powered(struct hci_dev *hdev, u8 powered); 1098int mgmt_powered(struct hci_dev *hdev, u8 powered);
1099int mgmt_discoverable(struct hci_dev *hdev, u8 discoverable); 1099int mgmt_discoverable(struct hci_dev *hdev, u8 discoverable);