Revert "Implement the Delete interface"
This reverts commit 433beadcb8b0af4ebdc05e2b46be0be0ac3085e6.
As objects will be deleted on phosphor-logging interfaces removed
signals, the Delete interface is no longer required.
Tested: Ensure the REST Delete calls still work via the
InterfacesRemoved handler.
Change-Id: I08f0b8fddf85ed1122175b1a66b9e2decbbf6cdf
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/interfaces.hpp b/interfaces.hpp
index b889cbb..0dfa668 100644
--- a/interfaces.hpp
+++ b/interfaces.hpp
@@ -1,7 +1,6 @@
#pragma once
#include <com/ibm/Logging/Policy/server.hpp>
-#include <xyz/openbmc_project/Object/Delete/server.hpp>
namespace ibm
{
@@ -11,16 +10,12 @@
template <typename... T>
using ServerObject = typename sdbusplus::server::object::object<T...>;
-using DeleteInterface = sdbusplus::xyz::openbmc_project::Object::server::Delete;
-using DeleteObject = ServerObject<DeleteInterface>;
-
using PolicyInterface = sdbusplus::com::ibm::Logging::server::Policy;
using PolicyObject = ServerObject<PolicyInterface>;
enum class InterfaceType
{
- POLICY,
- DELETE
+ POLICY
};
}
}