ubifs: Remove redundant assignment
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
bbef610b0f
commit
cf9b0c6927
|
@ -392,7 +392,6 @@ static void clean_buf(const struct ubifs_info *c, void **buf, int lnum,
|
||||||
{
|
{
|
||||||
int empty_offs, pad_len;
|
int empty_offs, pad_len;
|
||||||
|
|
||||||
lnum = lnum;
|
|
||||||
dbg_rcvry("cleaning corruption at %d:%d", lnum, *offs);
|
dbg_rcvry("cleaning corruption at %d:%d", lnum, *offs);
|
||||||
|
|
||||||
if (c->min_io_size == 1) {
|
if (c->min_io_size == 1) {
|
||||||
|
|
|
@ -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,
|
void ubifs_end_scan(const struct ubifs_info *c, struct ubifs_scan_leb *sleb,
|
||||||
int lnum, int offs)
|
int lnum, int offs)
|
||||||
{
|
{
|
||||||
lnum = lnum;
|
|
||||||
dbg_scan("stop scanning LEB %d at offset %d", lnum, offs);
|
dbg_scan("stop scanning LEB %d at offset %d", lnum, offs);
|
||||||
ubifs_assert(offs % c->min_io_size == 0);
|
ubifs_assert(offs % c->min_io_size == 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue