Skip to contentSkip to conversation

UBIFS: remove unnecessary assignment

PATCH New Stefan Agner 1 participant 1 message Apr 17, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 UBIFS: remove unnecessary assignment

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

---
 fs/ubifs/recovery.c | 1 -
 1 file changed, 1 deletion(-)
fs/ubifs/recovery.c +0 -1
index 586d59347fff..3af4472061cc 100644
@@ -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));
Signature · 1 line
2.12.2