aboutsummaryrefslogtreecommitdiff
path: root/ewah/bitmap.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-31 03:45:53 +0200
committerJunio C Hamano <gitster@pobox.com>2022-04-01 10:16:08 -0700
commitb676b73232fab679502f7c77e60f0852b4f2a09e (patch)
treeb6385a5e72a4ee0d7efa202935d0374a90d707f1 /ewah/bitmap.c
parent8c0cfadd9a8afd1accd05e5a31e044620726bcc8 (diff)
downloadgit-b676b73232fab679502f7c77e60f0852b4f2a09e.tar.xz
pack-bitmap-write: remove unused bitmap_reset() function
This function hasn't been used since 449fa5ee069 (pack-bitmap-write: ignore BITMAP_FLAG_REUSE, 2020-12-08), which was a cleanup commit intending to get rid of the code around the reusing of bitmaps. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ewah/bitmap.c')
-rw-r--r--ewah/bitmap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ewah/bitmap.c b/ewah/bitmap.c
index 38a47c44db..87d5cc8fa3 100644
--- a/ewah/bitmap.c
+++ b/ewah/bitmap.c
@@ -216,11 +216,6 @@ int bitmap_is_subset(struct bitmap *self, struct bitmap *other)
return 0;
}
-void bitmap_reset(struct bitmap *bitmap)
-{
- memset(bitmap->words, 0x0, bitmap->word_alloc * sizeof(eword_t));
-}
-
void bitmap_free(struct bitmap *bitmap)
{
if (bitmap == NULL)