summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/formulacell.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 7299ba705ab6..44f0f7acdf2b 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -4831,8 +4831,6 @@ bool ScFormulaCell::InterpretFormulaGroupThreading(sc::FormulaLogger::GroupScope
bDependencyComputed = true;
- const static bool bHyperThreadingActive = cpuid::hasHyperThreading();
-
// Then do the threaded calculation
class Executor : public comphelper::ThreadTask
@@ -4886,9 +4884,6 @@ bool ScFormulaCell::InterpretFormulaGroupThreading(sc::FormulaLogger::GroupScope
comphelper::ThreadPool& rThreadPool(comphelper::ThreadPool::getSharedOptimalPool());
sal_Int32 nThreadCount = rThreadPool.getWorkerCount();
- if ( bHyperThreadingActive && nThreadCount >= 2 )
- nThreadCount /= 2;
-
SAL_INFO("sc.threaded", "Running " << nThreadCount << " threads");
o3tl::sorted_vector<ScFormulaCellGroup*> aFGSet;