diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-06-15 20:27:38 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-18 19:16:18 +0200 |
commit | b36c3134bb1a292aa63b219ad97d3be93caa7015 (patch) | |
tree | 86acf8f41f697e1368719f1c67e686e8dd3ff4f0 /ewah/bitmap.c | |
parent | ewah: adjust callers of ewah_read_mmap() (diff) | |
download | git-b36c3134bb1a292aa63b219ad97d3be93caa7015.tar.xz git-b36c3134bb1a292aa63b219ad97d3be93caa7015.zip |
ewah/bitmap.c: delete unused 'bitmap_clear()'
Reported-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ewah/bitmap.c')
-rw-r--r-- | ewah/bitmap.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ewah/bitmap.c b/ewah/bitmap.c index 756bdd050e..d61dc6114a 100644 --- a/ewah/bitmap.c +++ b/ewah/bitmap.c @@ -45,14 +45,6 @@ void bitmap_set(struct bitmap *self, size_t pos) self->words[block] |= EWAH_MASK(pos); } -void bitmap_clear(struct bitmap *self, size_t pos) -{ - size_t block = EWAH_BLOCK(pos); - - if (block < self->word_alloc) - self->words[block] &= ~EWAH_MASK(pos); -} - int bitmap_get(struct bitmap *self, size_t pos) { size_t block = EWAH_BLOCK(pos); |