Revert "fru: Add support to insert hot-plug PDRs into repository"

This reverts commit cee5eccaef9f0f100845748dfce8c0dce87ee1c5.

Reason for revert: OEM constants are checked in the common code , which broke the non-oem code base.

Change-Id: Ib57312335a93c41e556a024ddb998b7bce842111
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/libpldmresponder/fru.hpp b/libpldmresponder/fru.hpp
index 781227a..6586fad 100644
--- a/libpldmresponder/fru.hpp
+++ b/libpldmresponder/fru.hpp
@@ -15,7 +15,6 @@
 #include <variant>
 #include <vector>
 
-using namespace pldm::utils;
 namespace pldm
 {
 
@@ -70,8 +69,7 @@
             pldm_entity_association_tree* entityTree,
             pldm_entity_association_tree* bmcEntityTree) :
         parser(configPath, fruMasterJsonPath), pdrRepo(pdrRepo),
-        entityTree(entityTree), bmcEntityTree(bmcEntityTree),
-        oemUtilsHandler(nullptr)
+        entityTree(entityTree), bmcEntityTree(bmcEntityTree)
     {}
 
     /** @brief Total length of the FRU table in bytes, this includes the pad
@@ -152,15 +150,6 @@
         return associatedEntityMap;
     }
 
-    /* @brief Method to set the oem utils handler in FRU handler class
-     *
-     * @param[in] handler - oem utils handler
-     */
-    inline void setOemUtilsHandler(pldm::responder::oem_utils::Handler* handler)
-    {
-        oemUtilsHandler = handler;
-    }
-
     /** @brief Get pldm entity by the object path
      *
      *  @param[in] intfMaps - D-Bus interfaces and the associated property
@@ -247,8 +236,6 @@
     dbus::ObjectValueTree objects;
 
     std::map<dbus::ObjectPath, pldm_entity_node*> objToEntityNode{};
-    /** @OEM Utils handler */
-    pldm::responder::oem_utils::Handler* oemUtilsHandler;
 
     /** @brief populateRecord builds the FRU records for an instance of FRU and
      *         updates the FRU table with the FRU records.
@@ -269,16 +256,6 @@
      */
     void deleteFRURecord(uint16_t rsi);
 
-    /** @brief Add hotplug record that was modified or added to the PDR entry
-     *  HotPlug is a feature where a FRU can be removed or added when
-     *  the system is running, without needing it to power off.
-     *
-     *  @param[in] pdrEntry - PDR record structure in PDR repository
-     *
-     *  @return record handle of added or modified hotplug record
-     */
-    uint32_t addHotPlugRecord(pldm::responder::pdr_utils::PdrEntry pdrEntry);
-
     /** @brief Associate sensor/effecter to FRU entity
      */
     dbus::AssociatedEntityMap associatedEntityMap;
@@ -357,15 +334,6 @@
         return impl.getAssociateEntityMap();
     }
 
-    /* @brief Method to set the oem utils handler in host pdr handler class
-     *
-     * @param[in] handler - oem utils handler
-     */
-    void setOemUtilsHandler(pldm::responder::oem_utils::Handler* handler)
-    {
-        return impl.setOemUtilsHandler(handler);
-    }
-
     /** @brief Handler for GetFRURecordByOption
      *
      *  @param[in] request - Request message payload