diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-06 11:25:01 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-06 11:58:45 -0400 |
commit | 1514b8928e5d8273920b26276cd9617b6dbc7760 (patch) | |
tree | f4f082493e65798b1c513d649dcf5cb5caffd660 /include/net | |
parent | a6d811ed28f7c49e869b4076a00969c4028cda0d (diff) |
Bluetooth: Remove mgmt_valid_hdev() helper function
The helper function mgmt_valid_hdev() is more obfuscating the code
then it makes it easier to read. So intead of this helper, use the
direct check for BR/EDR device type.
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.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 30e0fbb92b0a..d80d4311ccb0 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -1148,7 +1148,6 @@ int mgmt_remote_name(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, | |||
1148 | int mgmt_discovering(struct hci_dev *hdev, u8 discovering); | 1148 | int mgmt_discovering(struct hci_dev *hdev, u8 discovering); |
1149 | int mgmt_device_blocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type); | 1149 | int mgmt_device_blocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type); |
1150 | int mgmt_device_unblocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type); | 1150 | int mgmt_device_unblocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type); |
1151 | bool mgmt_valid_hdev(struct hci_dev *hdev); | ||
1152 | int mgmt_new_ltk(struct hci_dev *hdev, struct smp_ltk *key, u8 persistent); | 1151 | int mgmt_new_ltk(struct hci_dev *hdev, struct smp_ltk *key, u8 persistent); |
1153 | void mgmt_reenable_advertising(struct hci_dev *hdev); | 1152 | void mgmt_reenable_advertising(struct hci_dev *hdev); |
1154 | 1153 | ||