logging: Unused arg in log_msg_get_tid

Resolve unused arg compiler error

Signed-off-by: Al Semjonovs <asemjonovs@google.com>
This commit is contained in:
Al Semjonovs 2023-09-14 10:56:46 -06:00 committed by Dan Kalowsky
commit b1b4932373

View file

@ -669,6 +669,7 @@ static inline void *log_msg_get_tid(struct log_msg *msg)
#if CONFIG_LOG_THREAD_ID_PREFIX #if CONFIG_LOG_THREAD_ID_PREFIX
return msg->hdr.tid; return msg->hdr.tid;
#else #else
ARG_UNUSED(msg);
return NULL; return NULL;
#endif #endif
} }