summaryrefslogtreecommitdiffstats
path: root/vespamalloc/src/tests/allocfree
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-22 09:47:36 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-01-06 23:21:15 +0100
commitfc3f722ae22b63ea9484a63ad1aa432490290258 (patch)
tree3f5195b0e29396b54eaac8bb643d3eea98b0661f /vespamalloc/src/tests/allocfree
parent56b220ba1cf20f0ccb443ee684239622b3f6376b (diff)
remove the indirection due to not all cpus supporting cmpXchg16 in 2007.
Diffstat (limited to 'vespamalloc/src/tests/allocfree')
-rw-r--r--vespamalloc/src/tests/allocfree/linklist.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/vespamalloc/src/tests/allocfree/linklist.cpp b/vespamalloc/src/tests/allocfree/linklist.cpp
index 39cd237420b..5dabdca65d6 100644
--- a/vespamalloc/src/tests/allocfree/linklist.cpp
+++ b/vespamalloc/src/tests/allocfree/linklist.cpp
@@ -127,8 +127,6 @@ int Test::Main() {
FastOS_ThreadPool pool(128000);
List::HeadPtr sharedList;
sharedList._tag = 1;
- List::init();
- List::enableThreadSupport();
fprintf(stderr, "Start populating list\n");
for (size_t i=0; i < NumBlocks; i++) {
List * l(&globalList[i]);