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:
parent
59a0e5e645
commit
041f0e5379
134 changed files with 744 additions and 823 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue