diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-11-26 11:15:59 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-12-10 00:51:49 +0100 |
commit | 17fd08ffb5981cff2c921eb479f46b872b02b2b9 (patch) | |
tree | 7c60ea06dddddd510508ffed7580dc2efc4fe8d0 /include/net/bluetooth | |
parent | Bluetooth: Simplify read_adv_features code (diff) | |
download | linux-17fd08ffb5981cff2c921eb479f46b872b02b2b9.tar.xz linux-17fd08ffb5981cff2c921eb479f46b872b02b2b9.zip |
Bluetooth: Remove unnecessary HCI_ADVERTISING_INSTANCE flag
This flag just tells us whether hdev->adv_instances is empty or not.
We can equally well use the list_empty() function to get this
information.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index cc2216727655..339ea57be423 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -239,7 +239,6 @@ enum { HCI_LE_ENABLED, HCI_ADVERTISING, HCI_ADVERTISING_CONNECTABLE, - HCI_ADVERTISING_INSTANCE, HCI_CONNECTABLE, HCI_DISCOVERABLE, HCI_LIMITED_DISCOVERABLE, |