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

Commit 2670e6a5 authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Remove all of controller_get_test_interface

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

Change-Id: I9e63ed5624d14117ecb2dc5a4307ede6ca7e66c2
parent 40a29d98
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -121,8 +121,3 @@ typedef struct controller_t {
} controller_t;

const controller_t* controller_get_interface();

const controller_t* controller_get_test_interface(
    const hci_t* hci_interface,
    const hci_packet_factory_t* packet_factory_interface,
    const hci_packet_parser_t* packet_parser_interface);
+0 −10
Original line number Diff line number Diff line
@@ -842,13 +842,3 @@ const controller_t* controller_get_interface() {
    return controller_get_interface_legacy();
  }
}

const controller_t* controller_get_test_interface(
    const hci_t* hci_interface,
    const hci_packet_factory_t* packet_factory_interface,
    const hci_packet_parser_t* packet_parser_interface) {
  local_hci = hci_interface;
  packet_factory = packet_factory_interface;
  packet_parser = packet_parser_interface;
  return &interface;
}