forked from bartvdbraak/blender
Code cleanup / Cycles:
* Remove useless else branch, after recent changes.
This commit is contained in:
parent
d8829122ba
commit
636b314677
@ -189,10 +189,6 @@ void TaskScheduler::init(int num_threads)
|
||||
/* automatic number of threads */
|
||||
num_threads = system_cpu_thread_count();
|
||||
}
|
||||
else {
|
||||
/* manual number of threads */
|
||||
num_threads;
|
||||
}
|
||||
|
||||
/* launch threads that will be waiting for work */
|
||||
threads.resize(num_threads);
|
||||
|
Loading…
Reference in New Issue
Block a user