From: Stefan Agner Date: Mon, 17 Apr 2017 02:22:43 +0000 (-0700) Subject: ubifs: Remove unnecessary assignment X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2a068daf57424b98b3c9de8da8bbf47ca360a618;p=openwrt%2Fstaging%2Fblogic.git ubifs: Remove unnecessary assignment Assigning a value of a variable to itself is not useful. Signed-off-by: Stefan Agner Signed-off-by: Richard Weinberger --- 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));