]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove unused assignments
authorluo penghao <luo.penghao@zte.com.cn>
Thu, 4 Nov 2021 06:40:07 +0000 (06:40 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2022 18:25:56 +0000 (13:25 -0500)
commite167eb48b510ac34ccc7dff07483b75e94e5cbad
treede9e0e85f1f940925d8d40de0af3a17cb15275a8
parent6bd4a918193a99f8ee3a2a4c3b42b5aff17b2630
ext4: remove unused assignments

The eh assignment in these two places is meaningless, because the
function will goto to merge, which will not use eh.

The clang_analyzer complains as follows:

fs/ext4/extents.c:1988:4 warning:
fs/ext4/extents.c:2016:4 warning:

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