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

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

system/udrv: Remove UNUSED_ATTR

Comment out unused parameters to have the compiler
check that they're unused.

Bug: 336310650
Test: mma -j32
Flag: EXEMPT, mechanical refactor
Change-Id: I42afe8acf7dc3bd180da4513b0891c65f469feb8
parent b5d4905c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -578,9 +578,8 @@ void UIPC_Close(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id) {
 ** Returns          true in case of success, false in case of failure.
 **
 ******************************************************************************/
bool UIPC_Send(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id,
               UNUSED_ATTR uint16_t msg_evt, const uint8_t* p_buf,
               uint16_t msglen) {
bool UIPC_Send(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id, uint16_t /* msg_evt */,
               const uint8_t* p_buf, uint16_t msglen) {
  log::verbose("UIPC_Send : ch_id:{} {} bytes", ch_id, msglen);

  std::lock_guard<std::recursive_mutex> lock(uipc.mutex);