f2fs: remove redundant assignment to variable err
authorColin Ian King <colin.i.king@gmail.com>
Fri, 16 Jun 2023 14:20:09 +0000 (15:20 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Jun 2023 13:21:41 +0000 (06:21 -0700)
commit3f8ac7da8c6efd72908e0a16d4a149e79f356a00
treee8ad91613d37981c4a3677b4eba7e2d4a8ad8ba3
parent9ac00e7cef106b66611e131f59f61f5ae35cf726
f2fs: remove redundant assignment to variable err

The assignment to variable err is redundant since the code jumps to
label next and err is then re-assigned a new value on the call to
sanity_check_node_chain. Remove the assignment.

Cleans up clang scan build warning:
fs/f2fs/recovery.c:464:6: warning: Value stored to 'err' is never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c