diff --git a/components/bt/bluedroid/bta/gatt/bta_gatts_act.c b/components/bt/bluedroid/bta/gatt/bta_gatts_act.c index 283e923e1..58f76eb77 100644 --- a/components/bt/bluedroid/bta/gatt/bta_gatts_act.c +++ b/components/bt/bluedroid/bta/gatt/bta_gatts_act.c @@ -707,8 +707,6 @@ void bta_gatts_indicate_handle (tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg) } else { if (p_msg->api_indicate.value) { APPL_TRACE_ERROR("%s, incorrect length", __func__); - } else { - APPL_TRACE_WARNING("%s, NULL value", __func__); } } (*p_rcb->p_cback)(BTA_GATTS_CONF_EVT, &cb_data); diff --git a/components/bt/bluedroid/btc/profile/std/gatt/btc_gatts.c b/components/bt/bluedroid/btc/profile/std/gatt/btc_gatts.c index 110935f8f..fb5ec963a 100644 --- a/components/bt/bluedroid/btc/profile/std/gatt/btc_gatts.c +++ b/components/bt/bluedroid/btc/profile/std/gatt/btc_gatts.c @@ -92,8 +92,6 @@ void btc_gatts_arg_deep_copy(btc_msg_t *msg, void *p_dest, void *p_src) dst->send_ind.value = NULL; if (src->send_ind.value) { BTC_TRACE_ERROR("%s %d, invalid length", __func__, msg->act); - } else { - BTC_TRACE_WARNING("%s %d, NULL value", __func__, msg->act); } } break; @@ -106,8 +104,6 @@ void btc_gatts_arg_deep_copy(btc_msg_t *msg, void *p_dest, void *p_src) } else { BTC_TRACE_ERROR("%s %d no mem\n", __func__, msg->act); } - } else { - BTC_TRACE_WARNING("%s %d, NULL response", __func__, msg->act); } break; @@ -125,8 +121,6 @@ void btc_gatts_arg_deep_copy(btc_msg_t *msg, void *p_dest, void *p_src) dst->add_char.char_val.attr_value = NULL; if (src->add_char.char_val.attr_value) { BTC_TRACE_ERROR("%s %d, invalid length", __func__, msg->act); - } else { - BTC_TRACE_WARNING("%s %d, NULL value", __func__, msg->act); } } break; @@ -144,8 +138,6 @@ void btc_gatts_arg_deep_copy(btc_msg_t *msg, void *p_dest, void *p_src) dst->add_descr.descr_val.attr_value = NULL; if (src->add_descr.descr_val.attr_value) { BTC_TRACE_ERROR("%s %d, invalid length", __func__, msg->act); - } else { - BTC_TRACE_WARNING("%s %d, NULL value", __func__, msg->act); } } break;