summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2017-04-17 04:22:43 +0200
committerRichard Weinberger <richard@nod.at>2017-05-08 20:48:47 +0200
commit2a068daf57424b98b3c9de8da8bbf47ca360a618 (patch)
tree0668560acb72600281f4da7bfa7e69d9f6f5b598
parentubifs: Fix cut and paste error on sb type comparisons (diff)
downloadlinux-2a068daf57424b98b3c9de8da8bbf47ca360a618.tar.xz
linux-2a068daf57424b98b3c9de8da8bbf47ca360a618.zip
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>
-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));