diff options
Diffstat (limited to 'src/components/util/workqueue.rs')
-rw-r--r-- | src/components/util/workqueue.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/components/util/workqueue.rs b/src/components/util/workqueue.rs index ccfbc03da1a..6c9d60ca989 100644 --- a/src/components/util/workqueue.rs +++ b/src/components/util/workqueue.rs @@ -48,8 +48,6 @@ enum SupervisorMsg<QueueData, WorkData> { struct WorkerInfo<QueueData, WorkData> { /// The communication channel to the workers. chan: Sender<WorkerMsg<QueueData, WorkData>>, - /// The buffer pool for this deque. - pool: BufferPool<WorkUnit<QueueData, WorkData>>, /// The worker end of the deque, if we have it. deque: Option<Worker<WorkUnit<QueueData, WorkData>>>, /// The thief end of the work-stealing deque. @@ -208,7 +206,6 @@ impl<QueueData: Send, WorkData: Send> WorkQueue<QueueData, WorkData> { let (worker, thief) = pool.deque(); infos.push(WorkerInfo { chan: worker_chan, - pool: pool, deque: Some(worker), thief: thief, }); |