Re: [PATCH] ext4: remove redundant assignment to variable split_flag1

From: Theodore Ts'o
Date: Thu Mar 03 2022 - 10:14:42 EST


On Tue, 1 Mar 2022 12:16:44 +0000, Colin Ian King wrote:
> 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]
>
> [...]

Applied, thanks!

[1/1] ext4: remove redundant assignment to variable split_flag1
commit: 6b71b69dd98b197deea0806417e88308e0876a10

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>