From 26884f210ab7e7af688e86c4f16ae1f2f244b4a5 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sat, 3 Jan 2015 13:48:30 -0700 Subject: [PATCH] bloom: kill unused function Signed-off-by: Jens Axboe --- lib/bloom.c | 5 ----- lib/bloom.h | 1 - 2 files changed, 6 deletions(-) diff --git a/lib/bloom.c b/lib/bloom.c index 33d093a3..ee4ba0ba 100644 --- a/lib/bloom.c +++ b/lib/bloom.c @@ -113,11 +113,6 @@ static int __bloom_check(struct bloom *b, uint32_t *data, unsigned int nwords, return was_set == N_HASHES; } -int bloom_check(struct bloom *b, uint32_t *data, unsigned int nwords) -{ - return __bloom_check(b, data, nwords, 0); -} - int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords) { return __bloom_check(b, data, nwords, 1); diff --git a/lib/bloom.h b/lib/bloom.h index b3cde950..127ed9b7 100644 --- a/lib/bloom.h +++ b/lib/bloom.h @@ -7,7 +7,6 @@ struct bloom; struct bloom *bloom_new(uint64_t entries); void bloom_free(struct bloom *b); -int bloom_check(struct bloom *b, uint32_t *data, unsigned int nwords); int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords); #endif -- 2.25.1