projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e5b1d
)
ubifs: Remove unnecessary assignment
author
Stefan Agner
<stefan@agner.ch>
Mon, 17 Apr 2017 02:22:43 +0000
(19:22 -0700)
committer
Nolen 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/ubifs/recovery.c
b/fs/ubifs/recovery.c
index 586d59347fff00c4572af57bf6e487f6fa2932d8..3af4472061cc0139638efa80245516f27fe175b0 100644
(file)
--- 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));