From: Daniel Arndt Date: Tue, 19 Feb 2019 18:21:50 +0000 (+0100) Subject: Remove redundant switch in MatrixFree::TaskInfo X-Git-Tag: v9.1.0-rc1~334^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7734%2Fhead;p=dealii.git Remove redundant switch in MatrixFree::TaskInfo --- diff --git a/source/matrix_free/task_info.cc b/source/matrix_free/task_info.cc index 1fd323d2cf..d60db786c8 100644 --- a/source/matrix_free/task_info.cc +++ b/source/matrix_free/task_info.cc @@ -363,10 +363,7 @@ namespace internal worker[j]->set_ref_count(2); blocked_worker[j - 1]->dummy = new (worker[j]->allocate_child()) tbb::empty_task; - if (j > 1) - tbb::task::spawn(*blocked_worker[j - 1]); - else - tbb::task::spawn(*blocked_worker[j - 1]); + tbb::task::spawn(*blocked_worker[j - 1]); } else {