PHAL: Remove HWAS_STATE updates from sbe ffdc processing api

Common PEL hardware Deconfiguration record adding function will
take care HWAS_STATE attribute updates. Removing the duplicate code.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Iba1fdeb6d4ae0152fa28b0ff61d40095581d5b0a
diff --git a/extensions/phal/phal_error.cpp b/extensions/phal/phal_error.cpp
index f1cf125..2f49b65 100644
--- a/extensions/phal/phal_error.cpp
+++ b/extensions/phal/phal_error.cpp
@@ -123,27 +123,6 @@
         return requireAttrNotFound;
     }
 
-    if (targetInfo->deconfigure)
-    {
-        ATTR_HWAS_STATE_Type hwasState;
-        if (DT_GET_PROP(ATTR_HWAS_STATE, target, hwasState))
-        {
-            log<level::ERR>("Could not read HWAS_STATE attribute");
-            return requireAttrNotFound;
-        }
-
-        log<level::INFO>(fmt::format("Marking target({}) as Non-Functional",
-                                     targetInfo->physDevPath)
-                             .c_str());
-        hwasState.functional = 0;
-
-        if (DT_SET_PROP(ATTR_HWAS_STATE, target, hwasState))
-        {
-            log<level::ERR>("Could not write HWAS_STATE attribute");
-            return requireAttrNotFound;
-        }
-    }
-
     return requireAttrFound;
 }