2023-10-06 16:46:23

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH][next] btrfs: remove redundant initialization of variable dirty

On Fri, Aug 18, 2023 at 02:55:25PM +0100, Colin Ian King wrote:
> The variable dirty is initialized with a value that is never read, it
> is being re-assigned later on. Remove the redundant initialization.
> Cleans up clang scan build warning:
>
> fs/btrfs/inode.c:5965:7: warning: Value stored to 'dirty' during its
> initialization is never read [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <[email protected]>

Added to misc-next, thanks.