]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Remove redundant initialization of variable err
authorColin Ian King <colin.king@canonical.com>
Fri, 3 Sep 2021 13:24:58 +0000 (14:24 +0100)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 13 Sep 2021 16:41:27 +0000 (19:41 +0300)
commitc53124f6d6a9eeb376f3fd1254a17687220f3c8a
treed93950db0554cff34a1f9e69c7fa0508101d824c
parent67ff7c51f9c2a492180ad18fdf1d39261bc63cf2
fs/ntfs3: Remove redundant initialization of variable err

The variable err is being initialized with a value that is never read, it
is being updated later on. The assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/index.c