OSDN Git Service

Remove unnecessary layer of obfuscation tBTA_GATTC_CMPL
authorChris Manton <cmanton@google.com>
Fri, 7 May 2021 21:16:29 +0000 (14:16 -0700)
committerChris Manton <cmanton@google.com>
Sun, 9 May 2021 03:10:19 +0000 (03:10 +0000)
Towards searchable code

Bug: 163134718
Test: gd/cert/run
Tag: #refactor

Change-Id: Ic02dc13c47ea19c19161326e519a2e904d927f91

bta/gatt/bta_gattc_int.h

index 0717d18..de76722 100644 (file)
@@ -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 {