OSDN Git Service

Remove unused defs stack/include/btm_api
authorChris Manton <cmanton@google.com>
Sun, 16 Aug 2020 22:17:15 +0000 (15:17 -0700)
committerChris Manton <cmanton@google.com>
Wed, 19 Aug 2020 15:33:17 +0000 (08:33 -0700)
BTM_FEATURE_BYTES_PER_PAGE
BTM_EXT_FEATURES_PAGE_MAX

Towards proper interfaces

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working

Change-Id: I44e728287f3656244d97b4bf126e07676050bd63

main/shim/btm_api.h
stack/include/acl_api_types.h
stack/include/btm_api.h

index af553f6..f6d432b 100644 (file)
@@ -1096,10 +1096,9 @@ tBTM_STATUS BTM_ReadRemoteVersion(const RawAddress& addr, uint8_t* lmp_version,
  * Description      This function is called to read a remote device's
  *                  supported features mask (features mask located at page 0)
  *
- *                  Note: The size of device features mask page is
- *                  BTM_FEATURE_BYTES_PER_PAGE bytes.
- *
  * Returns          pointer to the remote supported features mask
+ *                  The size of device features mask page is
+ *                  HCI_FEATURE_BYTES_PER_PAGE bytes.
  *
  ******************************************************************************/
 uint8_t* BTM_ReadRemoteFeatures(const RawAddress& addr);
index 18988db..7c05094 100644 (file)
@@ -121,10 +121,6 @@ typedef struct {
 
 typedef uint8_t tBTM_BL_EVENT;
 
-/* Device features mask definitions */
-#define BTM_FEATURE_BYTES_PER_PAGE HCI_FEATURE_BYTES_PER_PAGE
-#define BTM_EXT_FEATURES_PAGE_MAX HCI_EXT_FEATURES_PAGE_MAX
-
 #define BTM_INQUIRY_STARTED 1
 #define BTM_INQUIRY_CANCELLED 2
 #define BTM_INQUIRY_COMPLETE 3
index 3e26bd9..01989a9 100644 (file)
@@ -464,10 +464,9 @@ tBTM_STATUS BTM_ReadRemoteVersion(const RawAddress& addr, uint8_t* lmp_version,
  * Description      This function is called to read a remote device's
  *                  supported features mask (features mask located at page 0)
  *
- *                  Note: The size of device features mask page is
- *                  BTM_FEATURE_BYTES_PER_PAGE bytes.
- *
  * Returns          pointer to the remote supported features mask
+ *                  The size of device features mask page is
+ *                  HCI_FEATURE_BYTES_PER_PAGE bytes.
  *
  ******************************************************************************/
 uint8_t* BTM_ReadRemoteFeatures(const RawAddress& addr);