fs/ntfs3: Remove redundant assignment to variable vcn
authorColin Ian King <colin.i.king@gmail.com>
Mon, 18 Apr 2022 14:00:00 +0000 (17:00 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 8 Jun 2022 15:40:32 +0000 (18:40 +0300)
commitdc8965ab5e338abfd8dfd65d12a62ad5be65a776
tree67fb398bd116784a489134cd2c0506e7e71cfc72
parent560e613352b4a65c5c397e689a997fb04bd5f928
fs/ntfs3: Remove redundant assignment to variable vcn

Variable vcn is being assigned a value that is never read, it is
being re-assigned again in the initialization of a for-loop.  The
assignment is redundant and can be removed.

Cleans up clang scan build warning:
fs/ntfs3/attrib.c:1176:7: warning: Value stored to 'vcn' during its
initialization is never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/attrib.c