Skip to content

Commit

Permalink
fs/ntfs3: Remove duplicated assignment to variable r
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and Konstantin Komarov committed Jul 5, 2022
1 parent 4838ec0 commit cc83b0c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/ntfs3/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cc83b0c

Please sign in to comment.