OSDN Git Service

Remove unused defs
authorChris Manton <cmanton@google.com>
Thu, 27 Aug 2020 00:58:37 +0000 (17:58 -0700)
committerChris Manton <cmanton@google.com>
Sun, 30 Aug 2020 16:45:05 +0000 (09:45 -0700)
Towards readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ia1f71f374b9d84b819e071e6317eb2fc72576d27

stack/btm/btm_sec.h
stack/include/srvc_api.h

index 5ac7879..eefb875 100644 (file)
@@ -113,8 +113,6 @@ bool BTM_IsAuthenticated(const RawAddress& bd_addr, tBT_TRANSPORT transport);
  ******************************************************************************/
 void BTM_SetPinType(uint8_t pin_type, PIN_CODE pin_code, uint8_t pin_code_len);
 
-#define BTM_NO_AVAIL_SEC_SERVICES ((uint16_t)0xffff)
-
 /*******************************************************************************
  *
  * Function         BTM_SetSecurityLevel
index 8864834..dad6909 100644 (file)
@@ -44,8 +44,6 @@ typedef uint8_t tDIS_STATUS;
 #define DIS_ATTR_PNP_ID_BIT 0x0100
 typedef uint16_t tDIS_ATTR_MASK;
 
-#define DIS_ATTR_ALL_MASK 0xffff
-
 typedef tDIS_ATTR_MASK tDIS_ATTR_BIT;
 
 typedef struct {