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

Commit f8b8cdee authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Remove hci_layer_cleanup_interface

Bug: 197150934
Tag: #refactor
Test: gd/cert/run

Change-Id: I06e2568c79d28f16e4fbfea506978a78bf860d85
parent 1feda9f8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -75,5 +75,4 @@ typedef struct hci_t {

const hci_t* hci_layer_get_interface();

void hci_layer_cleanup_interface();
bool hci_is_root_inflammation_event_received();
+0 −5
Original line number Diff line number Diff line
@@ -60,7 +60,6 @@ struct process_command_credits process_command_credits;
struct hci_is_root_inflammation_event_received
    hci_is_root_inflammation_event_received;
struct handle_root_inflammation_event handle_root_inflammation_event;
struct hci_layer_cleanup_interface hci_layer_cleanup_interface;
struct hci_layer_get_interface hci_layer_get_interface;

}  // namespace hci_layer
@@ -104,10 +103,6 @@ void handle_root_inflammation_event() {
  mock_function_count_map[__func__]++;
  test::mock::hci_layer::handle_root_inflammation_event();
}
void hci_layer_cleanup_interface() {
  mock_function_count_map[__func__]++;
  test::mock::hci_layer::hci_layer_cleanup_interface();
}
const hci_t* hci_layer_get_interface() {
  mock_function_count_map[__func__]++;
  return test::mock::hci_layer::hci_layer_get_interface();
+0 −8
Original line number Diff line number Diff line
@@ -121,14 +121,6 @@ struct handle_root_inflammation_event {
  void operator()() { body(); };
};
extern struct handle_root_inflammation_event handle_root_inflammation_event;
// Name: hci_layer_cleanup_interface
// Params:
// Returns: void
struct hci_layer_cleanup_interface {
  std::function<void()> body{[]() {}};
  void operator()() { body(); };
};
extern struct hci_layer_cleanup_interface hci_layer_cleanup_interface;
// Name: hci_layer_get_interface
// Params:
// Returns: const hci_t*