Messages in this thread | | | Date | Wed, 8 Jun 2022 23:20:05 +0200 | From | David Sterba <> | 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@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Thanks, fix folded to the patch as it's still in the development branch.
| |