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

Commit 02e2c6e8 authored by liuchao's avatar liuchao
Browse files

Remove redundant added bta_hh_find_cb call in read_rpt_clt_cfg

This fixes an redundant call to bta_hh_find_cb to get a bta_hh_index

Test: mm -j 8
Change-Id: I455837d00d992248db8d8432b85227d1f92b3b02
parent 02c615e3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2269,7 +2269,6 @@ void bta_hh_le_hid_read_rpt_clt_cfg(BD_ADDR bd_addr, uint8_t rpt_id) {
  tBTA_HH_LE_RPT* p_rpt;
  uint8_t index = BTA_HH_IDX_INVALID;

  index = bta_hh_find_cb(bd_addr);
  index = bta_hh_find_cb(bd_addr);
  if (index == BTA_HH_IDX_INVALID) {
    APPL_TRACE_ERROR("%s: unknown device", __func__);