ext4: remove redundant o_start statement
authorluo penghao <luo.penghao@zte.com.cn>
Wed, 8 Dec 2021 07:51:57 +0000 (07:51 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2022 18:25:56 +0000 (13:25 -0500)
commita6dbc76c4d9cc961bfb31a495fb27ee06e037e35
treee4eb728f09c72a2877f620b711116bb06ef6f17a
parent037e7c525d988867811b3613549971a3253b2f7b
ext4: remove redundant o_start statement

The if will goto out of the loop, and until the end of the
function execution, o_start will not be used again.

The clang_analyzer complains as follows:

fs/ext4/move_extent.c:635:5 warning:

Value stored to 'o_start' 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/20211208075157.404535-1-luo.penghao@zte.com.cn
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/move_extent.c