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

Commit 0a0989e7 authored by Zach Johnson's avatar Zach Johnson
Browse files

Remove bta_sys_free, it's empty

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I1bd2a3c524a19537321be4d30c0b57a72080e537
parent 25cf0788
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -180,7 +180,6 @@ void bta_set_forward_hw_failures(bool value);
void BTA_sys_signal_hw_error();

extern void bta_sys_init(void);
extern void bta_sys_free(void);
extern void bta_sys_event(BT_HDR* p_msg);
extern void bta_sys_set_trace_level(uint8_t level);
extern void bta_sys_register(uint8_t id, const tBTA_SYS_REG* p_reg);
+0 −3
Original line number Diff line number Diff line
@@ -64,9 +64,6 @@ void bta_sys_init(void) {
  memset(&bta_sys_cb, 0, sizeof(tBTA_SYS_CB));
}

void bta_sys_free(void) {
}

void bta_set_forward_hw_failures(bool value) {
  bta_sys_cb.forward_hw_failures = value;
}
+0 −1
Original line number Diff line number Diff line
@@ -124,6 +124,5 @@ void btu_task_shut_down() {

  module_clean_up(get_module(BTE_LOGMSG_MODULE));

  bta_sys_free();
  btu_free_core();
}