diff options
author | Tomas Kalibera <kalibera@cs.purdue.edu> | 2013-12-19 17:09:11 +0100 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2013-12-20 00:46:00 -0800 |
commit | c3d22fef64874d8457fd568488e5cc1f33e9e89d (patch) | |
tree | 357872a681fd7fbbad4b4a5daa95028816c10d6e | |
parent | c6a700a39b1d43509cd3732f6e8d54626cd54b10 (diff) | |
download | memcached-c3d22fef64874d8457fd568488e5cc1f33e9e89d.tar.gz |
Removed redundant hash computation.
-rw-r--r-- | slabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |