From 321f1af3c9e7a45845302689d9ad0522ee7424e1 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 26 Oct 2019 13:35:56 +0200 Subject: [PATCH] memory: do not initialize twice --- src/villas-node.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/villas-node.cpp b/src/villas-node.cpp index 165f0fc28..342c2d96a 100644 --- a/src/villas-node.cpp +++ b/src/villas-node.cpp @@ -64,13 +64,7 @@ class Node : public Tool { public: Node(int argc, char *argv[]) : Tool(argc, argv, "node") - { - int ret; - - ret = memory_init(DEFAULT_NR_HUGEPAGES); - if (ret) - throw RuntimeError("Failed to initialize memory"); - } + { } protected: SuperNode sn;