Unused function
diff --git a/system/stack/btm/btm_inq.c b/system/stack/btm/btm_inq.c
index be6c2c4..4866b37 100644
--- a/system/stack/btm/btm_inq.c
+++ b/system/stack/btm/btm_inq.c
@@ -1229,29 +1229,6 @@
return (BTM_SUCCESS);
}
-
-/*******************************************************************************
-**
-** Function BTM_ReadNumInqDbEntries
-**
-** Returns This function returns the number of entries in the inquiry database.
-**
-*******************************************************************************/
-UINT8 BTM_ReadNumInqDbEntries (void)
-{
- UINT8 num_entries;
- UINT8 num_results;
- tINQ_DB_ENT *p_ent = btm_cb.btm_inq_vars.inq_db;
-
- for (num_entries = 0, num_results = 0; num_entries < BTM_INQ_DB_SIZE; num_entries++, p_ent++)
- {
- if (p_ent->in_use)
- num_results++;
- }
-
- return (num_results);
-}
-
/*******************************************************************************
**
** Function BTM_ReadInquiryRspTxPower
diff --git a/system/stack/include/btm_api.h b/system/stack/include/btm_api.h
index 96286b9..83de871 100644
--- a/system/stack/include/btm_api.h
+++ b/system/stack/include/btm_api.h
@@ -2633,16 +2633,6 @@
*******************************************************************************/
extern tBTM_STATUS BTM_ClearInqDb (BD_ADDR p_bda);
-
-/*******************************************************************************
-**
-** Function BTM_ReadNumInqDbEntries
-**
-** Returns This function returns the number of entries in the inquiry database.
-**
-*******************************************************************************/
-extern UINT8 BTM_ReadNumInqDbEntries (void);
-
/*******************************************************************************
**
** Function BTM_ReadInquiryRspTxPower