diff options
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/lib/processor.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/redfish-core/lib/processor.hpp b/redfish-core/lib/processor.hpp index 5c229f4f9f..7b22c86d2a 100644 --- a/redfish-core/lib/processor.hpp +++ b/redfish-core/lib/processor.hpp @@ -282,12 +282,6 @@ inline void getCpuDataByService(std::shared_ptr<bmcweb::AsyncResp> asyncResp, // count is zero, then it has a higher precedence. if (slotPresent) { - if (totalCores == 0) - { - // Slot is not populated, set status end return - asyncResp->res.jsonValue["Status"]["State"] = "Absent"; - asyncResp->res.jsonValue["Status"]["Health"] = "OK"; - } asyncResp->res.jsonValue["TotalCores"] = totalCores; } return; |