logging: remove CONFIG_LOG2_MSG_PKG_ALWAYS_ADD_RO_STRING_IDXS

CONFIG_LOG2_MSG_PKG_ALWAYS_ADD_RO_STRING_IDXS was added as
a stop-gap measure to support Sys-T catalog messages. Since
the Sys-T backend has envolved to use tagged argument, this
kconfig and its effect are no longer needed. So remove it.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung
2022-04-20 13:43:25 -07:00
parent a6cf2fd0c6
commit 9cd5086407
2 changed files with 1 additions and 10 deletions

View File

@@ -139,9 +139,7 @@ enum z_log_msg2_mode {
}
#define Z_LOG_MSG2_CBPRINTF_FLAGS(_cstr_cnt) \
(CBPRINTF_PACKAGE_FIRST_RO_STR_CNT(_cstr_cnt) | \
(IS_ENABLED(CONFIG_LOG2_MSG_PKG_ALWAYS_ADD_RO_STRING_IDXS) ? \
CBPRINTF_PACKAGE_ADD_STRING_IDXS : 0))
(CBPRINTF_PACKAGE_FIRST_RO_STR_CNT(_cstr_cnt))
#ifdef CONFIG_LOG2_USE_VLA
#define Z_LOG_MSG2_ON_STACK_ALLOC(ptr, len) \

View File

@@ -75,11 +75,4 @@ config LOG_MEM_UTILIZATION
config LOG_DICTIONARY_DB
bool
config LOG2_MSG_PKG_ALWAYS_ADD_RO_STRING_IDXS
bool
help
Enable this option to force log messages to always append indexes of
read-only string arguments in the package. This should be selected by
backends if required.
endmenu