projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4838ec0
)
fs/ntfs3: Remove duplicated assignment to variable r
author
Colin Ian King
<colin.i.king@gmail.com>
Mon, 4 Jul 2022 18:53:19 +0000
(19:53 +0100)
committer
Konstantin Komarov
<almaz.alexandrovich@paragon-software.com>
Tue, 5 Jul 2022 13:07:54 +0000
(16:07 +0300)
The assignment to variable r is duplicated, the second assignment
is redundant and can be removed.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/run.c
patch
|
blob
|
history
diff --git
a/fs/ntfs3/run.c
b/fs/ntfs3/run.c
index 7609d45a2d7214bb38b4814e48099469b196ddc3..aba8ab1b9fcb99e8286f0b512ffcd4a5d47946f9 100644
(file)
--- a/
fs/ntfs3/run.c
+++ b/
fs/ntfs3/run.c
@@
-563,7
+563,6
@@
bool run_insert_range(struct runs_tree *run, CLST vcn, CLST len)
e = run->runs + run->count;
r = run->runs + index;
- r = run->runs + index;
if (vcn > r->vcn)
r += 1;