OSDN Git Service

Remove useless #def BTA_GATTC_MULTI_MAX
authorChris Manton <cmanton@google.com>
Wed, 5 May 2021 21:21:00 +0000 (14:21 -0700)
committerChris Manton <cmanton@google.com>
Sun, 9 May 2021 16:29:02 +0000 (09:29 -0700)
Bug: 183374320
Test: gd/cert/run
Tag: #refactor

Change-Id: I27200f714209ab74b84b5140562f0f795176f8bc

bta/include/bta_gatt_api.h

index 2103634..7027741 100644 (file)
@@ -119,11 +119,9 @@ typedef struct {
   uint8_t* p_value;
 } tBTA_GATT_UNFMT;
 
-#define BTA_GATTC_MULTI_MAX GATT_MAX_READ_MULTI_HANDLES
-
 typedef struct {
   uint8_t num_attr;
-  uint16_t handles[BTA_GATTC_MULTI_MAX];
+  uint16_t handles[GATT_MAX_READ_MULTI_HANDLES];
 } tBTA_GATTC_MULTI;
 
 /* callback data structure */