Remove rw ubi volume delete as part of bmc version delete.

Change-Id: Ied7b803219ccc4686c1316e8b7049538bd52c5ff
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/item_updater.cpp b/item_updater.cpp
index f151412..170601d 100644
--- a/item_updater.cpp
+++ b/item_updater.cpp
@@ -167,8 +167,7 @@
 
 void ItemUpdater::erase(std::string entryId)
 {
-    // Delete ReadWrite and ReadOnly partitions
-    removeReadWritePartition(entryId);
+    // Delete ReadOnly partitions
     removeReadOnlyPartition(entryId);
 
     // Removing entry in versions map
@@ -271,20 +270,6 @@
     bus.call_noreply(method);
 }
 
-void ItemUpdater::removeReadWritePartition(std::string versionId)
-{
-    auto serviceFile = "obmc-flash-bmc-ubirw-remove.service";
-
-    // Remove the read-write partitions.
-    auto method = bus.new_method_call(
-            SYSTEMD_BUSNAME,
-            SYSTEMD_PATH,
-            SYSTEMD_INTERFACE,
-            "StartUnit");
-    method.append(serviceFile, "replace");
-    bus.call_noreply(method);
-}
-
 bool ItemUpdater::fieldModeEnabled(bool value)
 {
     // enabling field mode is intended to be one way: false -> true
diff --git a/item_updater.hpp b/item_updater.hpp
index de7b614..4d8924a 100644
--- a/item_updater.hpp
+++ b/item_updater.hpp
@@ -135,14 +135,6 @@
           * @param[in]  versionId - The version id.
           */
         void removeReadOnlyPartition(std::string versionId);
-
-        /** @brief Clears read write partition for
-          * given Activation dbus object.
-          *
-          * @param[in]  versionId - The version id.
-          */
-        void removeReadWritePartition(std::string versionId);
-
 };