From c806278e0c7c0e0de5b32d013676326221b86c35 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 19 Jun 2018 22:51:20 +0100 Subject: 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 Signed-off-by: Junio C Hamano --- ewah/ewah_rlw.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ewah/ewah_rlw.c') 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)); - } -} -- cgit v1.2.3