diff options
Diffstat (limited to 'redfish-core/lib/memory.hpp')
-rw-r--r-- | redfish-core/lib/memory.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/redfish-core/lib/memory.hpp b/redfish-core/lib/memory.hpp index 58d5178604..2882da0ea7 100644 --- a/redfish-core/lib/memory.hpp +++ b/redfish-core/lib/memory.hpp @@ -19,7 +19,6 @@ #include "app.hpp" #include "dbus_utility.hpp" -#include "health.hpp" #include "query.hpp" #include "registries/privilege_registry.hpp" #include "utils/collection.hpp" @@ -607,13 +606,6 @@ inline void getDimmDataByService(std::shared_ptr<bmcweb::AsyncResp> asyncResp, const std::string& service, const std::string& objPath) { - if constexpr (bmcwebEnableHealthPopulate) - { - auto health = std::make_shared<HealthPopulate>(asyncResp); - health->selfPath = objPath; - health->populate(); - } - BMCWEB_LOG_DEBUG("Get available system components."); sdbusplus::asio::getAllProperties( *crow::connections::systemBus, service, objPath, "", |