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

Commit 671e2e8a authored by Zach Johnson's avatar Zach Johnson
Browse files

Remove some unused DI fields/structs/messages

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I81de691d31ac3dda0ee80fb7612e95f60db08db9
parent e9aa878d
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -75,15 +75,6 @@ typedef struct {
  tBT_TRANSPORT transport;
} tBTA_DM_API_DISCOVER;

/* data type for BTA_DM_API_DI_DISC_EVT */
typedef struct {
  BT_HDR hdr;
  RawAddress bd_addr;
  tBTA_DISCOVERY_DB* p_sdp_db;
  uint32_t len;
  tBTA_DM_SEARCH_CBACK* p_cback;
} tBTA_DM_API_DI_DISC;

typedef struct {
  RawAddress bd_addr;
  bool accept;
@@ -168,8 +159,6 @@ typedef union {

  tBTA_DM_SDP_RESULT sdp_event;

  tBTA_DM_API_DI_DISC di_disc;

} tBTA_DM_MSG;

#define BTA_DM_NUM_PEER_DEVICE 7
+0 −2
Original line number Diff line number Diff line
@@ -645,8 +645,6 @@ typedef union {
  tBTA_DM_DISC_RES disc_res; /* Discovery result for a peer device. */
  tBTA_DM_DISC_BLE_RES
      disc_ble_res;             /* discovery result for GATT based service */
  tBTA_DM_DI_DISC_CMPL di_disc; /* DI discovery result for a peer device */

} tBTA_DM_SEARCH;

/* Search callback */