projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a258f7
)
ubifs: Remove unnecessary assignment
author
Stefan Agner
<stefan@agner.ch>
Mon, 17 Apr 2017 02:22:43 +0000
(19:22 -0700)
committer
Richard Weinberger
<richard@nod.at>
Mon, 8 May 2017 18:48:47 +0000
(20:48 +0200)
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>
fs/ubifs/recovery.c
patch
|
blob
|
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));