Revert "Automation fix to delete the non functional image"

This reverts commit b7df3de484b7334cea20a8201531433fdc378b84.

Reason for revert: Failing code update due to condition it doesnt meet

Change-Id: Ic2269f5f8945c3c78fb3969005e065683c68d3b9
diff --git a/extended/code_update/bmc_code_update.robot b/extended/code_update/bmc_code_update.robot
index 41568c6..bdcfdd5 100644
--- a/extended/code_update/bmc_code_update.robot
+++ b/extended/code_update/bmc_code_update.robot
@@ -84,9 +84,6 @@
     Pass Execution If  '${functional_version}' == '${image_version}'
     ...  The existing ${image_version} firmware is already functional.
 
-    ${software_object}=  Get Non Running BMC Software Object
-    Run Keyword And Ignore Error  Delete Software Object  ${software_object}
-
     Upload And Activate Image  ${IMAGE_FILE_PATH}
     ...  skip_if_active=${SKIP_UPDATE_IF_ACTIVE}
     OBMC Reboot (off)