pack-bitmap-write: remove unused bitmap_reset() function
This function hasn't been used since 449fa5ee06
(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>
This commit is contained in:

committed by
Junio C Hamano

parent
8c0cfadd9a
commit
b676b73232
@ -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)
|
||||
|
Reference in New Issue
Block a user