all: logging: Remove log_strdup function

Logging v1 has been removed and log_strdup wrapper function is no
longer needed. Removing the function and its use in the tree.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2022-06-20 07:43:37 +02:00 committed by Carles Cufí
commit 041f0e5379
134 changed files with 744 additions and 823 deletions

View file

@ -519,7 +519,7 @@ int modbus_serial_init(struct modbus_context *ctx,
cfg->dev = device_get_binding(cfg->dev_name);
if (cfg->dev == NULL) {
LOG_ERR("Failed to get UART device %s",
log_strdup(cfg->dev_name));
cfg->dev_name);
return -ENODEV;
}