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

Commit 26efcb17 authored by Zach Johnson's avatar Zach Johnson
Browse files

btif_mce_get_interface is never called

remove statics that are no longer referenced

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I7d09765e225ef25a80dedf24c81a629a7910fe60
parent 76808ad9
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -28,8 +28,4 @@
#ifndef BTIF_MCE_H
#define BTIF_MCE_H

#include <hardware/bt_mce.h>

btmce_interface_t* btif_mce_get_interface();

#endif
+0 −3
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@
#include <hardware/bt_hearing_aid.h>
#include <hardware/bt_hf_client.h>
#include <hardware/bt_hh.h>
#include <hardware/bt_mce.h>
#include <hardware/bt_pan.h>
#include <hardware/bt_rc.h>
#include <hardware/bt_sdp.h>
@@ -109,8 +108,6 @@ extern const bthh_interface_t* btif_hh_get_interface();
extern const bthd_interface_t* btif_hd_get_interface();
/*pan*/
extern const btpan_interface_t* btif_pan_get_interface();
/*map client*/
extern const btmce_interface_t* btif_mce_get_interface();
/* gatt */
extern const btgatt_interface_t* btif_gatt_get_interface();
/* avrc target */
+0 −18
Original line number Diff line number Diff line
@@ -43,21 +43,3 @@
 *  Static variables
 *****************************************************************************/
static bt_status_t init(btmce_callbacks_t* callbacks) {
  BTIF_TRACE_EVENT("%s", __func__);
  btif_enable_service(BTA_MAP_SERVICE_ID);
  return BT_STATUS_SUCCESS;
}

static bt_status_t get_remote_mas_instances(RawAddress* bd_addr) {
  return BT_STATUS_SUCCESS;
}

static const btmce_interface_t mce_if = {
    sizeof(btmce_interface_t), init, get_remote_mas_instances,
};

const btmce_interface_t* btif_mce_get_interface(void) {
  BTIF_TRACE_EVENT("%s", __func__);
  return &mce_if;
}