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

Commit 68f40697 authored by Zach Johnson's avatar Zach Johnson
Browse files

Remove BTIF_DM_CB_CREATE_BOND, it's never used

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: If1f09f06ea6ebaa46021e29a4ffe1a5aba61ca86
parent b2cd03b7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -127,7 +127,6 @@ enum {
  /* add here */

  BTIF_DM_CB_START = BTIF_SIG_CB_START(BTIF_DM),
  BTIF_DM_CB_DISCOVERY_STARTED, /* Discovery has started */
  BTIF_DM_CB_CREATE_BOND,       /* Create bond */
  BTIF_DM_CB_REMOVE_BOND,       /*Remove bond */
  BTIF_DM_CB_HID_REMOTE_NAME,   /* Remote name callback for HID device */
+0 −5
Original line number Diff line number Diff line
@@ -2005,11 +2005,6 @@ static void btif_dm_upstreams_evt(uint16_t event, char* p_param) {
static void btif_dm_generic_evt(uint16_t event, char* p_param) {
  BTIF_TRACE_EVENT("%s: event=%d", __func__, event);
  switch (event) {
    case BTIF_DM_CB_DISCOVERY_STARTED: {
      HAL_CBACK(bt_hal_cbacks, discovery_state_changed_cb,
                BT_DISCOVERY_STARTED);
    } break;

    case BTIF_DM_CB_CREATE_BOND: {
      pairing_cb.timeout_retries = NUM_TIMEOUT_RETRIES;
      btif_dm_create_bond_cb_t* create_bond_cb =