[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220608212005.GR20633@twin.jikos.cz>
Date: Wed, 8 Jun 2022 23:20:05 +0200
From: David Sterba <dsterba@...e.cz>
To: Yang Li <yang.lee@...ux.alibaba.com>
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH -next] btrfs: Remove the unused function
scrub_calc_parity_bitmap_len()
On Wed, Jun 08, 2022 at 09:21:58AM +0800, Yang Li wrote:
> bitmap_len = scrub_calc_parity_bitmap_len(), the only call point of this
> function has been deleted, so it should also be removed.
>
> Fix the following W=1 kernel warning:
> fs/btrfs/scrub.c:2857:19: warning: unused function 'scrub_calc_parity_bitmap_len'
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
Thanks, fix folded to the patch as it's still in the development branch.
Powered by blists - more mailing lists