OSDN Git Service

Remove unused field stack/avct/avct_int::ch_flags
authorChris Manton <cmanton@google.com>
Mon, 3 May 2021 16:04:32 +0000 (09:04 -0700)
committerChris Manton <cmanton@google.com>
Tue, 4 May 2021 14:27:55 +0000 (14:27 +0000)
Bug: 163134718
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I9c969c5ce65094e6236166adcb281bc728602f79

stack/avct/avct_int.h
stack/gatt/gatt_int.h

index 54f89be..3377d1e 100644 (file)
@@ -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 */
index dd031f8..9e7b714 100644 (file)
@@ -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;