settings: fcb: remove unnecessary drop of const identifier
`settings_fcb_save_priv()` already takes `const char *value`, so there is no reason to cast to `char *` before passing. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
This commit is contained in:
parent
36b06f4af8
commit
426896ea3e
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ static int settings_fcb_save(struct settings_store *cs, const char *name,
|
||||||
if (cdca.is_dup == 1) {
|
if (cdca.is_dup == 1) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return settings_fcb_save_priv(cs, name, (char *)value, val_len);
|
return settings_fcb_save_priv(cs, name, value, val_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
void settings_mount_fcb_backend(struct settings_fcb *cf)
|
void settings_mount_fcb_backend(struct settings_fcb *cf)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue