Commit 69491d52 authored by Xavier Thompson's avatar Xavier Thompson Committed by Julien Jerphanion

Remove redundant code

parent 44522e02
...@@ -87,7 +87,6 @@ cdef cypclass Worker: ...@@ -87,7 +87,6 @@ cdef cypclass Worker:
if not victim.queues.empty(): if not victim.queues.empty():
stolen_queue = victim.queues.back() stolen_queue = victim.queues.back()
victim.queues.pop_back() victim.queues.pop_back()
stolen_queue.has_worker = True
return stolen_queue return stolen_queue
index += 1 index += 1
if index >= num_workers: if index >= num_workers:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment