bloom: kill unused function
authorJens Axboe <axboe@fb.com>
Sat, 3 Jan 2015 20:48:30 +0000 (13:48 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 3 Jan 2015 20:48:30 +0000 (13:48 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
lib/bloom.c
lib/bloom.h

index 33d093a33f6984cf7adc05b4e9092bb4d339300d..ee4ba0baabcc80c40d13ede42ccb204d4530c9d9 100644 (file)
@@ -113,11 +113,6 @@ static int __bloom_check(struct bloom *b, uint32_t *data, unsigned int nwords,
        return was_set == N_HASHES;
 }
 
        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);
 int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords)
 {
        return __bloom_check(b, data, nwords, 1);
index b3cde950450762fb46ffad52b12270a31e4d9ef6..127ed9b77fb2100e692291f2dc0a155a23687617 100644 (file)
@@ -7,7 +7,6 @@ struct bloom;
 
 struct bloom *bloom_new(uint64_t entries);
 void bloom_free(struct bloom *b);
 
 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
 int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
 
 #endif