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:
Marcin Niestroj 2022-12-02 13:38:16 +01:00 committed by Carles Cufí
commit 426896ea3e

View file

@ -388,7 +388,7 @@ static int settings_fcb_save(struct settings_store *cs, const char *name,
if (cdca.is_dup == 1) {
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)