Skip to content

Commit

Permalink
ubifs: Remove unnecessary assignment
Browse files Browse the repository at this point in the history
Assigning a value of a variable to itself is not useful.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Richard Weinberger <richard@nod.at>
  • Loading branch information
agners authored and richardweinberger committed May 8, 2017
1 parent 6a258f7 commit 2a068da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/ubifs/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 2a068da

Please sign in to comment.