From c3d22fef64874d8457fd568488e5cc1f33e9e89d Mon Sep 17 00:00:00 2001 From: Tomas Kalibera Date: Thu, 19 Dec 2013 17:09:11 +0100 Subject: Removed redundant hash computation. --- slabs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slabs.c b/slabs.c index 753edd9..8ad0bf5 100644 --- a/slabs.c +++ b/slabs.c @@ -540,7 +540,7 @@ static int slab_rebalance_move(void) { } } else if (refcount == 2) { /* item is linked but not busy */ if ((it->it_flags & ITEM_LINKED) != 0) { - do_item_unlink_nolock(it, hash(ITEM_key(it), it->nkey, 0)); + do_item_unlink_nolock(it, hv); status = MOVE_DONE; } else { /* refcount == 1 + !ITEM_LINKED means the item is being -- cgit v1.2.1