From 546049a5c2e38c8e2598beaf19cf77b1f913bf22 Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Wed, 5 May 2021 14:21:00 -0700 Subject: [PATCH] Remove useless #def BTA_GATTC_MULTI_MAX Bug: 183374320 Test: gd/cert/run Tag: #refactor Change-Id: I27200f714209ab74b84b5140562f0f795176f8bc --- bta/include/bta_gatt_api.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bta/include/bta_gatt_api.h b/bta/include/bta_gatt_api.h index 210363412..7027741d8 100644 --- a/bta/include/bta_gatt_api.h +++ b/bta/include/bta_gatt_api.h @@ -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 */ -- 2.11.0