ext4: remove useless resetting io_end_size in mpage_process_page()
authorNghia Le <nghialm78@gmail.com>
Mon, 25 Oct 2021 22:18:03 +0000 (05:18 +0700)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2022 18:25:55 +0000 (13:25 -0500)
commiteffc5b3b0d20ffcb692f107cd347289bfcd6890b
tree80cd7ad39173659790b8c72ba3f54ca7df4a493c
parent4a69aecbfb30a3fc85bf8028386c047d5607a97a
ext4: remove useless resetting io_end_size in mpage_process_page()

The command "make clang-analyzer" detects dead stores in
mpage_process_page() function.

Do not reset io_end_size to 0 in the current paths, as the function
exits on those paths without further using io_end_size.

Signed-off-by: Nghia Le <nghialm78@gmail.com>
Link: https://lore.kernel.org/r/20211025221803.3326-1-nghialm78@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c