From cc6a7bf7bd1bf5830e290c9619928d21180d272d Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Thu, 5 Dec 2013 17:20:09 -0500 Subject: [PATCH] ck_hs: Remove useless mask in ck_hs_gc. --- src/ck_hs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ck_hs.c b/src/ck_hs.c index e77948b..f27b447 100644 --- a/src/ck_hs.c +++ b/src/ck_hs.c @@ -512,7 +512,7 @@ ck_hs_gc(struct ck_hs *hs) void **first, *object, *entry; unsigned long n_probes, offset, h; - entry = map->entries[i & map->mask]; + entry = map->entries[i]; if (entry == CK_HS_EMPTY || entry == CK_HS_TOMBSTONE) continue;