From af1c561f87b690bdc26fd58683eb635bf1a64cc1 Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Fri, 7 May 2021 14:16:29 -0700 Subject: [PATCH] Remove unnecessary layer of obfuscation tBTA_GATTC_CMPL Towards searchable code Bug: 163134718 Test: gd/cert/run Tag: #refactor Change-Id: Ic02dc13c47ea19c19161326e519a2e904d927f91 --- bta/gatt/bta_gattc_int.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bta/gatt/bta_gattc_int.h b/bta/gatt/bta_gattc_int.h index 0717d18a2..de767222d 100644 --- a/bta/gatt/bta_gattc_int.h +++ b/bta/gatt/bta_gattc_int.h @@ -133,13 +133,11 @@ typedef struct { uint16_t cid; } tBTA_GATTC_API_CONFIRM; -typedef tGATT_CL_COMPLETE tBTA_GATTC_CMPL; - typedef struct { BT_HDR_RIGID hdr; uint8_t op_code; tGATT_STATUS status; - tBTA_GATTC_CMPL* p_cmpl; + tGATT_CL_COMPLETE* p_cmpl; } tBTA_GATTC_OP_CMPL; typedef struct { -- 2.11.0