subsys/settings/fcb: removed unused var
Removed the `wbs` var since it isn't used. Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
parent
21f278c04b
commit
20a05b6838
1 changed files with 0 additions and 2 deletions
|
@ -329,13 +329,11 @@ static int settings_fcb_save_priv(struct settings_store *cs, const char *name,
|
|||
int len;
|
||||
int rc = -EINVAL;
|
||||
int i;
|
||||
uint8_t wbs;
|
||||
|
||||
if (!name) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
wbs = cf->cf_fcb.f_align;
|
||||
len = settings_line_len_calc(name, val_len);
|
||||
|
||||
for (i = 0; i < cf->cf_fcb.f_sector_cnt; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue