]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Remove redundant assignment to variable frame
authorColin Ian King <colin.i.king@gmail.com>
Thu, 30 Dec 2021 15:59:00 +0000 (18:59 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 7 Jun 2022 16:40:24 +0000 (19:40 +0300)
commite0462c34c82709ce3ec9ad4be1fe506ccb827f39
tree7d02149ab50fbf34ddcc80bf44fc2d628f155b77
parent232d8a43d91bf3e50f8caf1eaaff41ed92d151d1
fs/ntfs3: Remove redundant assignment to variable frame

Variable frame is assigned a value that is never read. The
assignment is redundant and can be removed. Cleans up the
clang-scan build warning:

fs/ntfs3/file.c:995:3: warning: Value stored to 'frame' is
never read [deadcode.DeadStores]
                frame = pos >> frame_bits;

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/file.c