mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
ubifs: remove unnecessary assignment
Assigning a value of a variable to itself is not useful. This fixes a warning shown when using clang: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] Change-Id: I24e6833421eee33734eb24aa80cb6c429e489f2e Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Richard Weinberger <richard@nod.at> Git-commit: ae4c8081eb77bc82ac5ac8a7d55abea6f98e0209 Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
This commit is contained in:
parent
8588eafd1f
commit
f1f847cb00
@ -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…
x
Reference in New Issue
Block a user