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

Commit 4e2a7ca2 authored by Chris Manton's avatar Chris Manton
Browse files

Remove unused code btif::core::btif_dut_mode_cback

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

Change-Id: Ice9e2ea6ab15733782f60de15a7dbf4973558147
parent aaf0b286
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
@@ -247,20 +247,6 @@ bt_status_t btif_cleanup_bluetooth() {
  return BT_STATUS_SUCCESS;
}

/*******************************************************************************
 *
 * Function         btif_dut_mode_cback
 *
 * Description     Callback invoked on completion of vendor specific test mode
 *                 command
 *
 * Returns          None
 *
 ******************************************************************************/
static void btif_dut_mode_cback(UNUSED_ATTR tBTM_VSC_CMPL* p) {
  /* For now nothing to be done. */
}

/*******************************************************************************
 *
 * Function         btif_dut_mode_configure
@@ -290,7 +276,8 @@ void btif_dut_mode_configure(uint8_t enable) {
 ******************************************************************************/
void btif_dut_mode_send(uint16_t opcode, uint8_t* buf, uint8_t len) {
  LOG_VERBOSE("%s", __func__);
  BTM_VendorSpecificCommand(opcode, len, buf, btif_dut_mode_cback);
  /* For now nothing to be done. */
  BTM_VendorSpecificCommand(opcode, len, buf, [](tBTM_VSC_CMPL*) {});
}

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