summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/fapi2')
-rw-r--r--src/usr/fapi2/attribute_service.C40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/usr/fapi2/attribute_service.C b/src/usr/fapi2/attribute_service.C
index 848905401..350e23da8 100644
--- a/src/usr/fapi2/attribute_service.C
+++ b/src/usr/fapi2/attribute_service.C
@@ -2814,46 +2814,6 @@ ReturnCode platGetFreqMcaMhz(const Target<TARGET_TYPE_ALL>& i_fapiTarget,
return l_rc;
}
-//******************************************************************************
-// fapi::platAttrSvc::platSetFreqMcaMhz function
-//******************************************************************************
-ReturnCode platSetFreqMcaMhz(const Target<TARGET_TYPE_ALL>& i_fapiTarget,
- uint32_t i_val)
-{
- fapi2::ReturnCode l_rc;
-
- TARGETING::Target * l_pTarget = NULL;
- errlHndl_t l_errl = getTargetingTarget(i_fapiTarget, l_pTarget);
- if (l_errl)
- {
- FAPI_ERR("platSetFreqMcaMhz: Error from getTargetingTarget");
- l_rc.setPlatDataPtr(reinterpret_cast<void *> (l_errl));
- }
- else
- {
- /*@
- * @errortype
- * @moduleid fapi2::MOD_FAPI2_SET_ATTR_FREQ_MCA_MHZ
- * @reasoncode fapi2::RC_SET_ATTR_NOT_VALID
- * @userdata1 HUID
- * @userdata2 Requested attr value
- * @devdesc platSetFreqMcaMhz should never be called
- */
- l_errl = new ERRORLOG::ErrlEntry(
- ERRORLOG::ERRL_SEV_UNRECOVERABLE,
- fapi2::MOD_FAPI2_SET_ATTR_FREQ_MCA_MHZ,
- fapi2::RC_SET_ATTR_NOT_VALID,
- TARGETING::get_huid(l_pTarget),
- i_val,
- true);
-
- FAPI_ERR("platSetFreqMcaMhz: Function should never be called");
- l_rc.setPlatDataPtr(reinterpret_cast<void *> (l_errl));
- }
-
- return l_rc;
-}
-
} // End platAttrSvc namespace
OpenPOWER on IntegriCloud