diff options
-rw-r--r-- | redfish-core/lib/pcie.hpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/redfish-core/lib/pcie.hpp b/redfish-core/lib/pcie.hpp index 4ea2dbc797..45625f7f0b 100644 --- a/redfish-core/lib/pcie.hpp +++ b/redfish-core/lib/pcie.hpp @@ -285,7 +285,6 @@ inline void addPCIeDeviceProperties( crow::Response& resp, const std::string& pcieDeviceId, const dbus::utility::DBusPropertiesMap& pcieDevProperties) { - const std::string* manufacturer = nullptr; const std::string* deviceType = nullptr; const std::string* generationInUse = nullptr; const int64_t* lanesInUse = nullptr; @@ -293,7 +292,7 @@ inline void addPCIeDeviceProperties( const bool success = sdbusplus::unpackPropertiesNoThrow( dbus_utils::UnpackErrorPrinter(), pcieDevProperties, "DeviceType", deviceType, "GenerationInUse", generationInUse, "LanesInUse", - lanesInUse, "Manufacturer", manufacturer); + lanesInUse); if (!success) { @@ -330,11 +329,6 @@ inline void addPCIeDeviceProperties( resp.jsonValue["PCIeInterface"]["LanesInUse"] = *lanesInUse; } - if (manufacturer != nullptr) - { - resp.jsonValue["PCIeInterface"]["Manufacturer"] = *manufacturer; - } - resp.jsonValue["PCIeFunctions"]["@odata.id"] = crow::utility::urlFromPieces( "redfish", "v1", "Systems", "system", "PCIeDevices", pcieDeviceId, "PCIeFunctions"); |