Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9427ce2 authored by Zach Johnson's avatar Zach Johnson
Browse files

BTM_SEC_IS_SERVICE_TRUSTED is never used

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: If4f892e78e9e95f6e426e4e4af883b14705fc9a2
parent 8a895272
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -751,14 +751,6 @@ typedef uint8_t tBTM_LINK_KEY_TYPE;
 * trusted services
 ******************************************************************************/

/* MACRO to check the security service bit mask in a bit stream (Returns true or
 * false) */
#define BTM_SEC_IS_SERVICE_TRUSTED(p, service)                                 \
  (((((uint32_t*)(p))[(((uint32_t)(service)) / BTM_SEC_ARRAY_BITS)]) &         \
    (uint32_t)(((uint32_t)1 << (((uint32_t)(service)) % BTM_SEC_ARRAY_BITS)))) \
       ? true                                                                  \
       : false)

/* MACRO to copy two trusted device bitmask */
#define BTM_SEC_COPY_TRUSTED_DEVICE(p_src, p_dst)              \
  {                                                            \