f2fs: file: drop useless initializer in expand_inode_data()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Tue, 20 Dec 2022 17:17:32 +0000 (20:17 +0300)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 4 Jan 2023 20:56:04 +0000 (12:56 -0800)
commit39bee2e6acc2522d88feb324b18178b34cb7b75a
treee8ff7b438cf8328de42a45d370d4c5cae5257daf
parent512dee0c00ad9e9c7ae9f11fc6743702ea40caff
f2fs: file: drop useless initializer in expand_inode_data()

In expand_inode_data(), the 'new_size' local variable is initialized to
the result of i_size_read(), however this value isn't ever used,  so we
can drop this initializer...

Found by Linux Verification Center (linuxtesting.org) with the SVACE static
analysis tool.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c