1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

memory: do not initialize twice

This commit is contained in:
Steffen Vogel 2019-10-26 13:35:56 +02:00
parent c406a153dc
commit 321f1af3c9

View file

@ -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;