summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2017-04-16 19:22:43 -0700
committerRichard Weinberger <richard@nod.at>2017-05-08 20:48:47 +0200
commit2a068daf57424b98b3c9de8da8bbf47ca360a618 (patch)
tree0668560acb72600281f4da7bfa7e69d9f6f5b598 /fs/ubifs
parent6a258f7d0fbd9f5e93099018741a7e64dd3a4578 (diff)
downloadlinux-2a068daf57424b98b3c9de8da8bbf47ca360a618.tar.bz2
ubifs: Remove unnecessary assignment
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>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/recovery.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c
index 586d59347fff..3af4472061cc 100644
--- a/fs/ubifs/recovery.c
+++ b/fs/ubifs/recovery.c
@@ -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));