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

Commit 680fd56e authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Remove unused var stack/hid/hidh_conn

Toward meaningful code

Bug: 163134718
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I8837a66dcba4ab160fc152319b9eb71f27a61045
parent 0c06c75e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -164,7 +164,6 @@ static void hidh_l2cif_connect_ind(const RawAddress& bd_addr,
  tHID_CONN* p_hcon;
  bool bAccept = true;
  uint8_t i = HID_HOST_MAX_DEVICES;
  tHID_HOST_DEV_CTB* p_dev;

  HIDH_TRACE_EVENT("HID-Host Rcvd L2CAP conn ind, PSM: 0x%04x  CID 0x%x", psm,
                   l2cap_cid);
@@ -176,7 +175,6 @@ static void hidh_l2cif_connect_ind(const RawAddress& bd_addr,
  }

  p_hcon = &hh_cb.devices[i].conn;
  p_dev = &hh_cb.devices[i];

  /* Check we are in the correct state for this */
  if (psm == HID_PSM_INTERRUPT) {