Remove dead code
These lines don't do anything now and are confusing
to the reader.
Tested: system.json was the same before and after
change
Change-Id: I00dbf962b916cb47f8fab9b17a15f470d9a9ce66
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/EntityManager.cpp b/src/EntityManager.cpp
index 5aa77bf..1832fb1 100644
--- a/src/EntityManager.cpp
+++ b/src/EntityManager.cpp
@@ -1297,10 +1297,6 @@
strPtr = nullptr;
break;
}
-
- std::string probeValue =
- std::visit(VariantToStringVisitor(), foundDevicePair.second);
- boost::replace_all(*strPtr, templateName, probeValue);
}
strPtr = keyPair.value().get_ptr<std::string*>();