md/md-bitmap: remove md_bitmap_setallbits()
authorYu Kuai <yukuai3@huawei.com>
Mon, 26 Aug 2024 07:44:30 +0000 (15:44 +0800)
committerSong Liu <song@kernel.org>
Tue, 27 Aug 2024 17:14:16 +0000 (10:14 -0700)
md_bitmap_setallbits() is not used, hence can be removed.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240826074452.1490072-21-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/md-bitmap.h

index 1df238cb82f09fdb879b95fc268ce9123f18c0da..0bf16f0143ad87d8be44b1a37c5a909a7cbe6b56 100644 (file)
@@ -261,7 +261,6 @@ void mddev_set_bitmap_ops(struct mddev *mddev);
 
 /* these are used only by md/bitmap */
 
-int  md_bitmap_setallbits(struct bitmap *bitmap);
 void md_bitmap_write_all(struct bitmap *bitmap);
 
 void md_bitmap_dirty_bits(struct bitmap *bitmap, unsigned long s, unsigned long e);