]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove redundant assignment to variable split_flag1
authorColin Ian King <colin.i.king@gmail.com>
Tue, 1 Mar 2022 12:16:44 +0000 (12:16 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Mar 2022 05:01:31 +0000 (00:01 -0500)
commitebad2c3db1173db9273eae5bbfc4c500c8370afb
treed82154a6fbe46b3cf7b5a6e61faef81c8ef2b938
parent2cac541b8d6673d6420921d1ea50da9bd3b6e085
ext4: remove redundant assignment to variable split_flag1

Variable split_flag1 is being assigned a value that is never read,
it is being re-assigned a new value in the following code block.
The assignment is redundant and can be removed.

Cleans up clang scan build warning:
fs/ext4/extents.c:3371:2: warning: Value stored to 'split_flag1' is
never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220301121644.997833-1-colin.i.king@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c