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

Commit e7552cef authored by Chris Manton's avatar Chris Manton
Browse files

Unused: Remove bta::jv::bta_jv_cb.p_sel_raw_data

Write once read never

Bug: 191555414
Test: m .
Flag: EXEMPT, Code removal

Change-Id: Iddef6820e83fe2595173158a1c007e68a3b1bc66
parent 9dafb35e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -905,8 +905,6 @@ void bta_jv_start_discovery(const RawAddress& bd_addr, uint16_t num_uuid,
  p_bta_jv_cfg->p_sdp_db->raw_data = p_bta_jv_cfg->p_sdp_raw_data;
  p_bta_jv_cfg->p_sdp_db->raw_size = p_bta_jv_cfg->sdp_raw_size;

  bta_jv_cb.p_sel_raw_data = 0;

  // Optimistically set this as active
  bta_jv_cb.sdp_cb = {
      .sdp_active = true,
+0 −1
Original line number Diff line number Diff line
@@ -115,7 +115,6 @@ struct tBTA_JV_CB {
   * if sdp_handle[i]==0, it's not used.
   * otherwise sdp_handle[i] is the stack SDP handle. */
  uint32_t sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */
  uint8_t* p_sel_raw_data; /* the raw data of last service select */
  tBTA_JV_DM_CBACK* p_dm_cback;
  tBTA_JV_L2C_CB l2c_cb[BTA_JV_MAX_L2C_CONN]; /* index is GAP handle (index) */
  tBTA_JV_RFC_CB rfc_cb[BTA_JV_MAX_RFC_CONN];