Bluetooth: tbs_client: Remove unused subscribe_cnt variable
This removes unused subscribe_cnt from bt_tbs_instance. Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
This commit is contained in:
parent
570bcd3c83
commit
5452ef378f
2 changed files with 0 additions and 4 deletions
|
@ -548,9 +548,6 @@ static uint8_t notify_handler(struct bt_conn *conn,
|
||||||
if (data == NULL) {
|
if (data == NULL) {
|
||||||
LOG_DBG("[UNSUBSCRIBED] 0x%04X", params->value_handle);
|
LOG_DBG("[UNSUBSCRIBED] 0x%04X", params->value_handle);
|
||||||
params->value_handle = 0U;
|
params->value_handle = 0U;
|
||||||
if (tbs_inst != NULL) {
|
|
||||||
tbs_inst->subscribe_cnt--;
|
|
||||||
}
|
|
||||||
|
|
||||||
return BT_GATT_ITER_STOP;
|
return BT_GATT_ITER_STOP;
|
||||||
}
|
}
|
||||||
|
|
|
@ -331,7 +331,6 @@ struct bt_tbs_instance {
|
||||||
uint16_t termination_reason_handle;
|
uint16_t termination_reason_handle;
|
||||||
|
|
||||||
bool busy;
|
bool busy;
|
||||||
uint8_t subscribe_cnt;
|
|
||||||
#if defined(CONFIG_BT_TBS_CLIENT_CCID)
|
#if defined(CONFIG_BT_TBS_CLIENT_CCID)
|
||||||
uint8_t ccid;
|
uint8_t ccid;
|
||||||
#endif /* defined(CONFIG_BT_TBS_CLIENT_CCID) */
|
#endif /* defined(CONFIG_BT_TBS_CLIENT_CCID) */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue