diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-06-15 20:27:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-18 19:16:19 +0200 |
commit | 83ea4e1e5997898ee98eacc61fce56cc1c614cd4 (patch) | |
tree | 5abf23f6c8314a24df88e31ea344e9a89700b9e8 /ewah/ewah_io.c | |
parent | ewah_bitmap: delete unused 'ewah_or()' (diff) | |
download | git-83ea4e1e5997898ee98eacc61fce56cc1c614cd4.tar.xz git-83ea4e1e5997898ee98eacc61fce56cc1c614cd4.zip |
ewah_io: delete unused 'ewah_serialize()'
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/ewah_io.c')
-rw-r--r-- | ewah/ewah_io.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ewah/ewah_io.c b/ewah/ewah_io.c index 33c08c40f8..345ee6287e 100644 --- a/ewah/ewah_io.c +++ b/ewah/ewah_io.c @@ -100,16 +100,6 @@ int ewah_serialize_to(struct ewah_bitmap *self, return (3 * 4) + (self->buffer_size * 8); } -static int write_helper(void *fd, const void *buf, size_t len) -{ - return write((intptr_t)fd, buf, len); -} - -int ewah_serialize(struct ewah_bitmap *self, int fd) -{ - return ewah_serialize_to(self, write_helper, (void *)(intptr_t)fd); -} - static int write_strbuf(void *user_data, const void *data, size_t len) { struct strbuf *sb = user_data; |