[PATCH] UBIFS: remove unnecessary assignment

Stefan Agner stefan at agner.ch
Sun Apr 16 19:22:43 PDT 2017


Assigning a value of a variable to itself is not useful.

Signed-off-by: Stefan Agner <stefan at agner.ch>
---
 fs/ubifs/recovery.c | 1 -
 1 file changed, 1 deletion(-)

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));
-- 
2.12.2




More information about the linux-mtd mailing list