Remove unused function
Change-Id: I6b14bdae3a5e7b79d1bc80cb04741da21f758194
diff --git a/src/yang_schema.cpp b/src/yang_schema.cpp
index c8bf540..fd1b8fe 100644
--- a/src/yang_schema.cpp
+++ b/src/yang_schema.cpp
@@ -32,27 +32,6 @@
~InvalidSchemaQueryException() override = default;
};
-template <typename T>
-std::string pathToYangAbsSchemPath(const T& path)
-{
- std::string res = "/";
- std::string currentModule;
-
- for (const auto& it : path.m_nodes) {
- const auto name = nodeToSchemaString(it);
-
- if (it.m_suffix.type() == typeid(module_)) {
- currentModule = name;
- continue;
- } else {
- res += currentModule + ":";
- res += name + "/";
- }
- }
-
- return res;
-}
-
YangSchema::YangSchema()
: m_context(std::make_shared<libyang::Context>(nullptr, LY_CTX_DISABLE_SEARCHDIRS | LY_CTX_DISABLE_SEARCHDIR_CWD))
{