diff --git a/lib/super_node.cpp b/lib/super_node.cpp index 94b965d38..3e7322dc2 100644 --- a/lib/super_node.cpp +++ b/lib/super_node.cpp @@ -61,23 +61,6 @@ SuperNode::SuperNode() : gethostname(hname, 128); name = hname; - - init(); -} - -int SuperNode::init() -{ - int ret; - - ret = kernel::rt::init(priority, affinity); - if (ret) - return ret; - - ret = memory_init(hugepages); - if (ret) - return ret; - - return 0; } int SuperNode::parseUri(const std::string &u) diff --git a/src/villas-node.cpp b/src/villas-node.cpp index 8a9bfeba5..396739b41 100644 --- a/src/villas-node.cpp +++ b/src/villas-node.cpp @@ -167,10 +167,6 @@ int main(int argc, char *argv[]) else logger->warn("No configuration file specified. Starting unconfigured. Use the API to configure this instance."); - ret = sn.init(); - if (ret) - throw new RuntimeError("Failed to initialize super node"); - ret = sn.check(); if (ret) throw new RuntimeError("Failed to verify configuration"); diff --git a/src/villas-pipe.cpp b/src/villas-pipe.cpp index 6620d4530..059f4df66 100644 --- a/src/villas-pipe.cpp +++ b/src/villas-pipe.cpp @@ -320,10 +320,6 @@ check: if (optarg == endptr) else logger->warn("No configuration file specified. Starting unconfigured. Use the API to configure this instance."); - ret = sn.init(); - if (ret) - throw new RuntimeError("Failed to initialize super-node"); - fmt = format_type_lookup(format); if (!fmt) throw new RuntimeError("Invalid format: {}", format); diff --git a/src/villas-test-rtt.cpp b/src/villas-test-rtt.cpp index 980577356..8991fe708 100644 --- a/src/villas-test-rtt.cpp +++ b/src/villas-test-rtt.cpp @@ -158,10 +158,6 @@ check: if (optarg == endptr) else logger->warn("No configuration file specified. Starting unconfigured. Use the API to configure this instance."); - ret = sn.init(); - if (ret) - throw new RuntimeError("Initialization failed!"); - node = sn.getNode(nodestr); if (!node) throw new RuntimeError("There's no node with the name '{}'", nodestr);