summaryrefslogtreecommitdiff
path: root/src/btree/bt_evict.c
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-09-03 12:38:55 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-09-03 12:38:55 -0400
commitfdfe9fa2e96665a13926c446df66ddc96c2436d2 (patch)
tree23af0cf627534c4a639a1322e7f83ecaac899679 /src/btree/bt_evict.c
parentf4371a7792f0e297dc48fcaabe52367d5f5a7064 (diff)
downloadmongo-fdfe9fa2e96665a13926c446df66ddc96c2436d2.tar.gz
Remove uses of WT_ERR_TIMEDOUT_OK. __wt_cond_wait already takes care of
that return and a few other similar values.
Diffstat (limited to 'src/btree/bt_evict.c')
-rw-r--r--src/btree/bt_evict.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/btree/bt_evict.c b/src/btree/bt_evict.c
index c402a1715d6..deab0f54312 100644
--- a/src/btree/bt_evict.c
+++ b/src/btree/bt_evict.c
@@ -191,8 +191,7 @@ __evict_server(void *arg)
F_CLR(cache, WT_EVICT_ACTIVE);
WT_ERR(__wt_verbose(session, WT_VERB_EVICTSERVER, "sleeping"));
/* Don't rely on signals: check periodically. */
- WT_ERR_TIMEDOUT_OK(
- __wt_cond_wait(session, cache->evict_cond, 100000));
+ WT_ERR(__wt_cond_wait(session, cache->evict_cond, 100000));
WT_ERR(__wt_verbose(session, WT_VERB_EVICTSERVER, "waking"));
}