[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231006163856.GN28758@twin.jikos.cz>
Date: Fri, 6 Oct 2023 18:38:56 +0200
From: David Sterba <dsterba@...e.cz>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Chris Mason <clm@...com>, Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>, linux-btrfs@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
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 <colin.i.king@...il.com>
Added to misc-next, thanks.
Powered by blists - more mailing lists