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

Commit c6d8364e authored by Myles Watson's avatar Myles Watson
Browse files

HH: Remove redundant assignment

Bug: 179111866
Test: compilation
Change-Id: Iff38f618060272c0e8fab9009a8cf6235ab03a97
parent 525eda02
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1370,7 +1370,7 @@ static bt_status_t set_idle_time(RawAddress* bd_addr, uint8_t idle_time) {
    return BT_STATUS_FAIL;
  }

  btif_hh_device_t* p_dev = p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr);
  btif_hh_device_t* p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr);
  if (p_dev == NULL) {
    BTIF_TRACE_WARNING("%s: addr = %s not opened", __func__,
                       bd_addr->ToString().c_str());