ubifs: Fix build issues reported using LLVM
Self assignments are reported as errors using LLVM toolchain, fix them. Change-Id: Idbbbeb5dff6f9874a66590c7fa01361e28a8ba12 Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
This commit is contained in:
parent
8f047d48db
commit
c285a11071
2 changed files with 0 additions and 2 deletions
|
|
@ -442,7 +442,6 @@ static void clean_buf(const struct ubifs_info *c, void **buf, int lnum,
|
|||
{
|
||||
int empty_offs, pad_len;
|
||||
|
||||
lnum = lnum;
|
||||
dbg_rcvry("cleaning corruption at %d:%d", lnum, *offs);
|
||||
|
||||
ubifs_assert(!(*offs & 7));
|
||||
|
|
|
|||
|
|
@ -175,7 +175,6 @@ struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum,
|
|||
void ubifs_end_scan(const struct ubifs_info *c, struct ubifs_scan_leb *sleb,
|
||||
int lnum, int offs)
|
||||
{
|
||||
lnum = lnum;
|
||||
dbg_scan("stop scanning LEB %d at offset %d", lnum, offs);
|
||||
ubifs_assert(offs % c->min_io_size == 0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue