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

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

Remove unused field stack/avct/avct_int::ch_flags

Bug: 163134718
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I9c969c5ce65094e6236166adcb281bc728602f79
parent 99033076
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -66,7 +66,6 @@ typedef struct {
  uint8_t allocated;  /* 0, not allocated. index+1, otherwise. */
  uint8_t state;      /* The state machine state */
  uint8_t ch_state;   /* L2CAP channel state */
  uint8_t ch_flags;   /* L2CAP configuration flags */
} tAVCT_SCB;

/* link control block type */
@@ -77,7 +76,6 @@ typedef struct {
  uint8_t allocated;      /* 0, not allocated. index+1, otherwise. */
  uint8_t state;          /* The state machine state */
  uint8_t ch_state;       /* L2CAP channel state */
  uint8_t ch_flags;       /* L2CAP configuration flags */
  BT_HDR* p_rx_msg;       /* Message being reassembled */
  uint16_t conflict_lcid; /* L2CAP channel LCID */
  RawAddress peer_addr;   /* BD address of peer */
@@ -93,7 +91,6 @@ typedef struct {
  uint8_t allocated;  /* 0, not allocated. index+1, otherwise. */
  uint8_t state;      /* The state machine state */
  uint8_t ch_state;   /* L2CAP channel state */
  uint8_t ch_flags;   /* L2CAP configuration flags */
  BT_HDR* p_tx_msg;  /* Message to be sent - in case the browsing channel is not
                        open when MsgReg is called */
  uint8_t ch_close;  /* CCB index+1, if CCB initiated channel close */
+0 −1
Original line number Diff line number Diff line
@@ -258,7 +258,6 @@ typedef struct {
  uint16_t payload_size;

  tGATT_CH_STATE ch_state;
  uint8_t ch_flags;

  std::unordered_set<uint8_t> app_hold_link;