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

Commit 527ae41e authored by Zach Johnson's avatar Zach Johnson
Browse files

Flatten BTU_ShutDown

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I798bca68f0598901ead357432eaf9cc0fd2cc193
parent 04b9a76c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@
#include "btif/include/btif_sock.h"
#include "main/shim/controller.h"

void BTU_ShutDown(void);
void btu_task_shut_down();
void BTA_dm_on_hw_on();
void BTA_dm_on_hw_off();

@@ -296,7 +296,7 @@ static void event_shut_down_stack(UNUSED_ATTR void* context) {
    module_shut_down(get_module(BTSNOOP_MODULE));
  }

  BTU_ShutDown();
  btu_task_shut_down();

  module_shut_down(get_module(CONTROLLER_MODULE));  // Doesn't do any work, just
                                                    // puts it in a restartable
+0 −6
Original line number Diff line number Diff line
@@ -29,8 +29,6 @@
#include "l2c_api.h"
#include "sdpint.h"

void btu_task_shut_down();

/*****************************************************************************
 *
 * Function         btu_free_core
@@ -51,7 +49,3 @@ void btu_free_core() {

  btm_free();
}

void BTU_ShutDown() {
  btu_task_shut_down();
}