aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/util/workqueue.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2014-07-08 15:46:34 +0100
committerSimon Sapin <simon.sapin@exyr.org>2014-07-08 15:46:34 +0100
commitb1c4a9156cc6d89044495b3cc10e3a37e63bb3b5 (patch)
treea8449b4926de1209ed2436fc982cd6ed45583f80 /src/components/util/workqueue.rs
parent53d5d35e7cc55158179185010376b8a5ac79def2 (diff)
downloadservo-b1c4a9156cc6d89044495b3cc10e3a37e63bb3b5.tar.gz
servo-b1c4a9156cc6d89044495b3cc10e3a37e63bb3b5.zip
Fix or selectively silence warnings in src/components.
Diffstat (limited to 'src/components/util/workqueue.rs')
-rw-r--r--src/components/util/workqueue.rs3
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,
});