mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
UBIFS: remove useless statements
This patch removes useless and duplicate statements. Signed-off-by: hujianyang <hujianyang@huawei.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
parent
ce6ebdb87e
commit
b793a8c888
7 changed files with 2 additions and 10 deletions
|
@ -304,7 +304,6 @@ static int layout_cnodes(struct ubifs_info *c)
|
|||
ubifs_assert(lnum >= c->lpt_first &&
|
||||
lnum <= c->lpt_last);
|
||||
}
|
||||
done_ltab = 1;
|
||||
c->ltab_lnum = lnum;
|
||||
c->ltab_offs = offs;
|
||||
offs += c->ltab_sz;
|
||||
|
@ -514,7 +513,6 @@ static int write_cnodes(struct ubifs_info *c)
|
|||
if (err)
|
||||
return err;
|
||||
}
|
||||
done_ltab = 1;
|
||||
ubifs_pack_ltab(c, buf + offs, c->ltab_cmt);
|
||||
offs += c->ltab_sz;
|
||||
dbg_chk_lpt_sz(c, 1, c->ltab_sz);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue