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

Commit 5496a85b authored by Hansong Zhang's avatar Hansong Zhang
Browse files

Remove unused code in l2c_api

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ifdcb0a14919e75103796246cddb9011393e0035a
parent c5f3ae31
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -209,18 +209,8 @@ typedef void(tL2CA_DISCONNECT_IND_CB)(uint16_t, bool);
 *              Local CID
 *              Result
 */
typedef void(tL2CA_DISCONNECT_CFM_CB)(uint16_t, uint16_t);

/* Data received indication callback prototype. Parameters are
 *              Local CID
 *              Address of buffer
 */
typedef void(tL2CA_DATA_IND_CB)(uint16_t, BT_HDR*);

/* Callback function prototype to pass broadcom specific echo response  */
/* to the upper layer                                                   */
typedef void(tL2CA_ECHO_DATA_CB)(const RawAddress&, uint16_t, uint8_t*);

/* Congestion status callback protype. This callback is optional. If
 * an application tries to send data when the transmit queue is full,
 * the data will anyways be dropped. The parameter is:
+0 −2
Original line number Diff line number Diff line
@@ -487,8 +487,6 @@ typedef struct {
  bool ble_check_round_robin;       /* Do a round robin check */
  tL2C_RCB ble_rcb_pool[BLE_MAX_L2CAP_CLIENTS]; /* Registration info pool */

  tL2CA_ECHO_DATA_CB* p_echo_data_cb; /* Echo data callback */

  uint16_t dyn_psm;

  uint16_t le_dyn_psm; /* Next LE dynamic PSM value to try to assign */