UBIFS: remove unnecessary assignment

Submitted by Stefan Agner on April 17, 2017, 2:22 a.m.

Details

Message ID 20170417022243.4459-1-stefan@agner.ch
State Accepted
Delegated to: Richard Weinberger
Headers show

Commit Message

Stefan Agner April 17, 2017, 2:22 a.m.
Assigning a value of a variable to itself is not useful.

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

Patch hide | download patch | download mbox

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