Commit 321f1af3 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼

memory: do not initialize twice

parent c406a153
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment