Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c285a110 authored by Shiraz Hashim's avatar Shiraz Hashim Committed by Naitik Bharadiya
Browse files

ubifs: Fix build issues reported using LLVM



Self assignments are reported as errors using LLVM
toolchain, fix them.

Change-Id: Idbbbeb5dff6f9874a66590c7fa01361e28a8ba12
Signed-off-by: default avatarShiraz Hashim <shashim@codeaurora.org>
parent 8f047d48
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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));
+0 −1
Original line number Diff line number Diff line
@@ -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);