diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-06-19 22:51:20 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-21 09:39:48 -0700 |
commit | c806278e0c7c0e0de5b32d013676326221b86c35 (patch) | |
tree | accfda366965d71f240ea4a12e22f9f07d16f4f1 /ewah/ewah_rlw.c | |
parent | 26675087a58e1e7dd54bc0f059ad2f831c6e3fbf (diff) | |
download | git-c806278e0c7c0e0de5b32d013676326221b86c35.tar.gz |
ewah: delete unused 'rlwit_discharge_empty()'
Complete the removal of unused 'ewah bitmap' code by removing the now
unused 'rlwit_discharge_empty()' function. Also, the 'ewah_clear()'
function can now be made a file-scope static symbol.
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ewah/ewah_rlw.c')
-rw-r--r-- | ewah/ewah_rlw.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ewah/ewah_rlw.c b/ewah/ewah_rlw.c index b9643b7d0f..5093d43e2f 100644 --- a/ewah/ewah_rlw.c +++ b/ewah/ewah_rlw.c @@ -104,11 +104,3 @@ size_t rlwit_discharge( return index; } - -void rlwit_discharge_empty(struct rlw_iterator *it, struct ewah_bitmap *out) -{ - while (rlwit_word_size(it) > 0) { - ewah_add_empty_words(out, 0, rlwit_word_size(it)); - rlwit_discard_first_words(it, rlwit_word_size(it)); - } -} |