ext4: remove redundant statement
authorluo penghao <luo.penghao@zte.com.cn>
Thu, 4 Nov 2021 06:34:06 +0000 (06:34 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2022 18:25:56 +0000 (13:25 -0500)
commita660be97eb00c4d87bf881e1226fbd9d812690b7
tree3e991ac9b31d0c7b74c4bd0ee0f9d9abb22e9583
parenteffc5b3b0d20ffcb692f107cd347289bfcd6890b
ext4: remove redundant statement

The local variable assignment at the end of the function is meaningless.

The clang_analyzer complains as follows:

fs/ext4/fast_commit.c:779:2 warning:

Value stored to 'dst' is never read

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: luo penghao <luo.penghao@zte.com.cn>
Link: https://lore.kernel.org/r/20211104063406.2747-1-luo.penghao@zte.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/fast_commit.c