[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210604122342.GB31483@suse.cz>
Date: Fri, 4 Jun 2021 14:23:42 +0200
From: David Sterba <dsterba@...e.cz>
To: Nathan Chancellor <nathan@...nel.org>
Cc: Chris Mason <clm@...com>, Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Nikolay Borisov <nborisov@...e.com>,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] btrfs: Remove total_data_size variable in
btrfs_batch_insert_items()
On Thu, Jun 03, 2021 at 10:43:11AM -0700, Nathan Chancellor wrote:
> clang warns:
>
> fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set
> but not used [-Wunused-but-set-variable]
> int total_data_size = 0, total_size = 0;
> ^
> 1 warning generated.
>
> This variable's value has been unused since commit fc0d82e103c7 ("btrfs:
> sink total_data parameter in setup_items_for_insert"). Eliminate it.
>
> Fixes: fc0d82e103c7 ("btrfs: sink total_data parameter in setup_items_for_insert")
> Link: https://github.com/ClangBuiltLinux/linux/issues/1391
> Signed-off-by: Nathan Chancellor <nathan@...nel.org>
Added to misc-next, thanks. I've removed the Fixes: tag, we've been
using this is for patches that should be backported or otherwise point
to a patch that causes a real bug.
Powered by blists - more mailing lists