OSDN Git Service

Remove unused #defs BTM_
authorChris Manton <cmanton@google.com>
Mon, 7 Sep 2020 17:06:28 +0000 (10:06 -0700)
committerChris Manton <cmanton@google.com>
Wed, 9 Sep 2020 15:26:30 +0000 (15:26 +0000)
Towards readable code

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

stack/btm/security_device_record.h

index 6ce736e..a069f84 100644 (file)
@@ -121,20 +121,6 @@ typedef struct {
   tBTM_AUTH_REQ loc_auth_req; /* the auth_req flag  */
 } tBTM_DEVCB;
 
-/* Define the structures and constants used for inquiry
- */
-
-/* Definitions of limits for inquiries */
-#define BTM_PER_INQ_MIN_MAX_PERIOD HCI_PER_INQ_MIN_MAX_PERIOD
-#define BTM_PER_INQ_MAX_MAX_PERIOD HCI_PER_INQ_MAX_MAX_PERIOD
-#define BTM_PER_INQ_MIN_MIN_PERIOD HCI_PER_INQ_MIN_MIN_PERIOD
-#define BTM_PER_INQ_MAX_MIN_PERIOD HCI_PER_INQ_MAX_MIN_PERIOD
-#define BTM_MAX_INQUIRY_LENGTH HCI_MAX_INQUIRY_LENGTH
-#define BTM_MIN_INQUIRY_LEN 0x01
-
-#define BTM_MIN_INQ_TX_POWER (-70)
-#define BTM_MAX_INQ_TX_POWER 20
-
 typedef struct {
   uint32_t inq_count; /* Used for determining if a response has already been */
   /* received for the current inquiry operation. (We do not   */