summaryrefslogtreecommitdiff
path: root/src/conn/conn_cache.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-03-14 13:37:05 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2016-03-14 13:37:05 +1100
commitba282077df809f623a25db318d91e1311f8acb63 (patch)
treefda20ef31f422b284f9188ec6e937cc29d04a693 /src/conn/conn_cache.c
parent5bafca7a3c8f8e2cff9ccc81f320b81103941b80 (diff)
parentb96befb2529e870b41d8e2e2edda7788acab463b (diff)
downloadmongo-ba282077df809f623a25db318d91e1311f8acb63.tar.gz
Merge pull request #2537 from wiredtiger/wt-2435
WT-2435: __wt_evict_file_exclusive_on/off cleanups
Diffstat (limited to 'src/conn/conn_cache.c')
-rw-r--r--src/conn/conn_cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/conn/conn_cache.c b/src/conn/conn_cache.c
index 9a2c394e9a6..9850854a1de 100644
--- a/src/conn/conn_cache.c
+++ b/src/conn/conn_cache.c
@@ -158,7 +158,6 @@ __wt_cache_create(WT_SESSION_IMPL *session, const char *cfg[])
WT_ERR(__wt_cond_alloc(session,
"eviction waiters", false, &cache->evict_waiter_cond));
WT_ERR(__wt_spin_init(session, &cache->evict_lock, "cache eviction"));
- WT_ERR(__wt_spin_init(session, &cache->evict_walk_lock, "cache walk"));
/* Allocate the LRU eviction queue. */
cache->evict_slots = WT_EVICT_WALK_BASE + WT_EVICT_WALK_INCR;
@@ -255,7 +254,6 @@ __wt_cache_destroy(WT_SESSION_IMPL *session)
WT_TRET(__wt_cond_auto_destroy(session, &cache->evict_cond));
WT_TRET(__wt_cond_destroy(session, &cache->evict_waiter_cond));
__wt_spin_destroy(session, &cache->evict_lock);
- __wt_spin_destroy(session, &cache->evict_walk_lock);
__wt_free(session, cache->evict_queue);
__wt_free(session, conn->cache);