ubifs: Remove unnecessary assignment
authorStefan Agner <stefan@agner.ch>
Mon, 17 Apr 2017 02:22:43 +0000 (19:22 -0700)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 21 Dec 2021 18:35:25 +0000 (13:35 -0500)
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>
Change-Id: I0ac4db5bb670dde5e86af187a209fbbade6a3ba5

fs/ubifs/recovery.c

index 586d59347fff00c4572af57bf6e487f6fa2932d8..3af4472061cc0139638efa80245516f27fe175b0 100644 (file)
@@ -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));