summaryrefslogtreecommitdiff
path: root/fs/ntfs3/run.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-07-04 19:53:19 +0100
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2022-07-05 16:07:54 +0300
commitcc83b0c7e3064e2bb1f9d099bbfdaf493cd669fe (patch)
treecb0d438d3a18de08cad11d1693dcf05c1756ab4a /fs/ntfs3/run.c
parent4838ec0d80b110a5f30c7e3169dc5021efd203d4 (diff)
fs/ntfs3: Remove duplicated assignment to variable r
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>
Diffstat (limited to 'fs/ntfs3/run.c')
-rw-r--r--fs/ntfs3/run.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ntfs3/run.c b/fs/ntfs3/run.c
index 7609d45a2d72..aba8ab1b9fcb 100644
--- 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;