From b2052f3d8a7f03b7501cb979336ae8db92a0b45c Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Mon, 7 Sep 2020 10:06:28 -0700 Subject: [PATCH] Remove unused #defs BTM_ Towards readable code Bug: 163134718 Tag: #refactor Test: compile & verify basic functions working Change-Id: Ia1b8b7a471c9ba6ce3784c069df3c9fea2961a99 --- stack/btm/security_device_record.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/stack/btm/security_device_record.h b/stack/btm/security_device_record.h index 6ce736e91..a069f8431 100644 --- a/stack/btm/security_device_record.h +++ b/stack/btm/security_device_record.h @@ -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 */ -- 2.11.0