summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2017-04-16 22:22:43 -0400
committerRichard Weinberger <richard@nod.at>2017-05-08 14:48:47 -0400
commit2a068daf57424b98b3c9de8da8bbf47ca360a618 (patch)
tree0668560acb72600281f4da7bfa7e69d9f6f5b598 /fs/ubifs
parent6a258f7d0fbd9f5e93099018741a7e64dd3a4578 (diff)
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,
442{ 442{
443 int empty_offs, pad_len; 443 int empty_offs, pad_len;
444 444
445 lnum = lnum;
446 dbg_rcvry("cleaning corruption at %d:%d", lnum, *offs); 445 dbg_rcvry("cleaning corruption at %d:%d", lnum, *offs);
447 446
448 ubifs_assert(!(*offs & 7)); 447 ubifs_assert(!(*offs & 7));