fs/ntfs3: Remove duplicated assignment to variable r
authorColin Ian King <colin.i.king@gmail.com>
Mon, 4 Jul 2022 18:53:19 +0000 (19:53 +0100)
committerKonstantin 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

index 7609d45..aba8ab1 100644 (file)
@@ -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;