PHAL: Fixing wrong callout of reference target
-The target provided in HwCallout structure is, only a reference target
to find the actual hardware target need to be called out. So, this
target should not be called out.
Signed-off-by: Rajees P P <rajerpp1@in.ibm.com>
Change-Id: I64082ae30d936d8b2e46458b460e66ff064f049b
diff --git a/extensions/phal/phal_error.cpp b/extensions/phal/phal_error.cpp
index 4820954..27f9067 100644
--- a/extensions/phal/phal_error.cpp
+++ b/extensions/phal/phal_error.cpp
@@ -366,22 +366,6 @@
pelAdditionalData.emplace_back(
std::string(keyPrefix.str()).append("CLK_POS"),
std::to_string(hwCallout.clkPos));
-
- json jsonCalloutData;
- jsonCalloutData["LocationCode"] = locationCode;
- std::string pelPriority =
- getPelPriority(hwCallout.callout_priority);
- jsonCalloutData["Priority"] = pelPriority;
-
- if (targetInfo.mruId != 0)
- {
- jsonCalloutData["MRUs"] = json::array({
- {{"ID", targetInfo.mruId},
- {"Priority", pelPriority}},
- });
- }
-
- jsonCalloutDataList.emplace_back(jsonCalloutData);
});
// Adding CDG (callout, deconfigure and guard) targets details