From: Somnath Roy Date: Sat, 31 May 2014 02:03:42 +0000 (-0700) Subject: WorkQueue: Removed the unused in_process variable X-Git-Tag: v0.83~110^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3e3632ee7453f6fe3736d4db0d467ef3d8fbd4ed;p=ceph.git WorkQueue: Removed the unused in_process variable Signed-off-by: Somnath Roy --- diff --git a/src/common/WorkQueue.cc b/src/common/WorkQueue.cc index d3815c40f109..52508324dd9a 100644 --- a/src/common/WorkQueue.cc +++ b/src/common/WorkQueue.cc @@ -257,7 +257,7 @@ void ThreadPool::drain(WorkQueue_* wq) ShardedThreadPool::ShardedThreadPool(CephContext *pcct_, string nm, uint32_t pnum_threads): cct(pcct_), name(nm), lockname(nm + "::lock"), shardedpool_lock(lockname.c_str()), num_threads(pnum_threads), - stop_threads(0), pause_threads(0),drain_threads(0), in_process(0), num_paused(0), num_drained(0), wq(NULL) {} + stop_threads(0), pause_threads(0),drain_threads(0), num_paused(0), num_drained(0), wq(NULL) {} void ShardedThreadPool::shardedthreadpool_worker(uint32_t thread_index) { diff --git a/src/common/WorkQueue.h b/src/common/WorkQueue.h index 352ed5ea1b61..b27ff847895c 100644 --- a/src/common/WorkQueue.h +++ b/src/common/WorkQueue.h @@ -441,7 +441,6 @@ class ShardedThreadPool { atomic_t stop_threads; atomic_t pause_threads; atomic_t drain_threads; - atomic_t in_process; uint32_t num_paused; uint32_t num_drained;