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

Commit f2340a70 authored by Myles Watson's avatar Myles Watson
Browse files

Remove unused acl_link_segments_xmitted

Bug: 283254594
Test: presubmit
Change-Id: Ic874f1b68b5e636615300ee44ffb04e119f8e24a
parent 73321dcb
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2885,10 +2885,6 @@ void acl_rcv_acl_data(BT_HDR* p_msg) {
  l2c_rcv_acl_data(p_msg);
}

void acl_link_segments_xmitted(BT_HDR* p_msg) {
  l2c_link_segments_xmitted(p_msg);
}

void acl_packets_completed(uint16_t handle, uint16_t credits) {
  l2c_packets_completed(handle, credits);
  bluetooth::hci::IsoManager::GetInstance()->HandleGdNumComplDataPkts(handle,
+0 −1
Original line number Diff line number Diff line
@@ -70,7 +70,6 @@ void btm_read_rssi_complete(uint8_t* p);
void btm_read_tx_power_complete(uint8_t* p, bool is_ble);

void acl_rcv_acl_data(BT_HDR* p_msg);
void acl_link_segments_xmitted(BT_HDR* p_msg);
void acl_packets_completed(uint16_t handle, uint16_t num_packets);
void acl_process_supported_features(uint16_t handle, uint64_t features);
void acl_process_extended_features(uint16_t handle, uint8_t current_page_number,
+0 −5
Original line number Diff line number Diff line
@@ -115,7 +115,6 @@ struct HACK_acl_check_sm4 HACK_acl_check_sm4;
struct acl_accept_connection_request acl_accept_connection_request;
struct acl_disconnect_after_role_switch acl_disconnect_after_role_switch;
struct acl_disconnect_from_handle acl_disconnect_from_handle;
struct acl_link_segments_xmitted acl_link_segments_xmitted;
struct acl_packets_completed acl_packets_completed;
struct acl_process_extended_features acl_process_extended_features;
struct acl_process_supported_features acl_process_supported_features;
@@ -480,10 +479,6 @@ void acl_disconnect_from_handle(uint16_t handle, tHCI_STATUS reason,
  inc_func_call_count(__func__);
  test::mock::stack_acl::acl_disconnect_from_handle(handle, reason, comment);
}
void acl_link_segments_xmitted(BT_HDR* p_msg) {
  inc_func_call_count(__func__);
  test::mock::stack_acl::acl_link_segments_xmitted(p_msg);
}
void acl_packets_completed(uint16_t handle, uint16_t credits) {
  inc_func_call_count(__func__);
  test::mock::stack_acl::acl_packets_completed(handle, credits);
+0 −8
Original line number Diff line number Diff line
@@ -743,14 +743,6 @@ struct acl_disconnect_from_handle {
  };
};
extern struct acl_disconnect_from_handle acl_disconnect_from_handle;
// Name: acl_link_segments_xmitted
// Params: BT_HDR* p_msg
// Returns: void
struct acl_link_segments_xmitted {
  std::function<void(BT_HDR* p_msg)> body{[](BT_HDR* p_msg) { ; }};
  void operator()(BT_HDR* p_msg) { body(p_msg); };
};
extern struct acl_link_segments_xmitted acl_link_segments_xmitted;
// Name: acl_packets_completed
// Params: uint16_t handle, uint16_t credits
// Returns: void