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

Commit 5a2260b9 authored by Chris Manton's avatar Chris Manton
Browse files

Stat-ify stack::gatt::main::gatt_update_app_hold_link_status

Bug: 328139294
Test: m .
Flag: EXEMPT, Mechanical Refactor

Change-Id: I8426379afae6ad44519705d3a27b6b0f93d933d9
parent 78999fdd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -318,7 +318,7 @@ bool gatt_disconnect(tGATT_TCB* p_tcb) {
 *                  when it already exists, false otherwise.
 *
 ******************************************************************************/
bool gatt_update_app_hold_link_status(tGATT_IF gatt_if, tGATT_TCB* p_tcb,
static bool gatt_update_app_hold_link_status(tGATT_IF gatt_if, tGATT_TCB* p_tcb,
                                             bool is_add) {
  log::debug("gatt_if={}, is_add={}, peer_bda={}", gatt_if, is_add,
             ADDRESS_TO_LOGGABLE_CSTR(p_tcb->peer_bda));
+0 −6
Original line number Diff line number Diff line
@@ -43,12 +43,6 @@ bool gatt_disconnect(tGATT_TCB* /* p_tcb */) {
  inc_func_call_count(__func__);
  return false;
}
bool gatt_update_app_hold_link_status(tGATT_IF /* gatt_if */,
                                      tGATT_TCB* /* p_tcb */,
                                      bool /* is_add */) {
  inc_func_call_count(__func__);
  return false;
}
tGATT_CH_STATE gatt_get_ch_state(tGATT_TCB* /* p_tcb */) {
  inc_func_call_count(__func__);
  return GATT_CH_CLOSE;