diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2014-09-03 12:38:55 -0400 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2014-09-03 12:38:55 -0400 |
commit | fdfe9fa2e96665a13926c446df66ddc96c2436d2 (patch) | |
tree | 23af0cf627534c4a639a1322e7f83ecaac899679 /src/btree/bt_evict.c | |
parent | f4371a7792f0e297dc48fcaabe52367d5f5a7064 (diff) | |
download | mongo-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.c | 3 |
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")); } |