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

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

No need to transfer context in bte_dm_remote_service_record_evt

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ia9c7e7378bb5c4c6203764f3ec1b9790e9d6f55f
parent 2138ed5a
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1918,10 +1918,7 @@ static void bte_dm_search_services_evt(tBTA_DM_SEARCH_EVT event,
 ******************************************************************************/
static void bte_dm_remote_service_record_evt(tBTA_DM_SEARCH_EVT event,
                                             tBTA_DM_SEARCH* p_data) {
  /* TODO: The only member that needs a deep copy is the p_raw_data. But not
   * sure yet if this is needed. */
  btif_transfer_context(btif_dm_remote_service_record_evt, event, (char*)p_data,
                        sizeof(tBTA_DM_SEARCH), NULL);
  btif_dm_remote_service_record_evt(event, (char*)p_data);
}

/*******************************************************************************