diff options
Diffstat (limited to 'redfish-core/lib/virtual_media.hpp')
-rw-r--r-- | redfish-core/lib/virtual_media.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/redfish-core/lib/virtual_media.hpp b/redfish-core/lib/virtual_media.hpp index 96fd03798e..373881e605 100644 --- a/redfish-core/lib/virtual_media.hpp +++ b/redfish-core/lib/virtual_media.hpp @@ -794,7 +794,6 @@ inline void doEjectAction(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, const std::string& service, const std::string& name, bool legacy) { - // Legacy mount requires parameter with image if (legacy) { @@ -952,7 +951,6 @@ inline void handleManagersVirtualMediaActionEject( for (const auto& object : subtree) { - VmMode mode = parseObjectPathAndGetMode(object.first, resName); if (mode != VmMode::Invalid) { |