summaryrefslogtreecommitdiffstats
path: root/extensions/openpower-pels/user_header.hpp
diff options
context:
space:
mode:
authorAatir <aatrapps@gmail.com>2019-12-09 13:13:20 -0600
committerMatt Spinler <spinler@us.ibm.com>2019-12-09 19:47:50 +0000
commitc148935174a27faaae4f5a4fedaf4ff2705916ec (patch)
treea704e7d929c736efd40a1a55bf97f273460ad6c6 /extensions/openpower-pels/user_header.hpp
parent7b291ec64bffa3038e075154a474fe0fab80f26f (diff)
downloadphosphor-logging-c148935174a27faaae4f5a4fedaf4ff2705916ec.tar.gz
phosphor-logging-c148935174a27faaae4f5a4fedaf4ff2705916ec.zip
PEL: Remove userHeader::getValue
getValue function is now being used to get field values for all the different sections. Therefore, it makes sense to remove the older implementation of this function from userHeader class. Change-Id: I041b8c5e0548e9f7ee354f21d2e248ed946df5ec Signed-off-by: Aatir <aatrapps@gmail.com>
Diffstat (limited to 'extensions/openpower-pels/user_header.hpp')
-rw-r--r--extensions/openpower-pels/user_header.hpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/extensions/openpower-pels/user_header.hpp b/extensions/openpower-pels/user_header.hpp
index 6692dd3..14407dc 100644
--- a/extensions/openpower-pels/user_header.hpp
+++ b/extensions/openpower-pels/user_header.hpp
@@ -168,20 +168,10 @@ class UserHeader : public Section
/**
* @brief Get section in JSON.
- * @return std::optional<std::string> - If a section comes with a JSON
- * repressentation, this would return the string for it.
+ * @return std::optional<std::string> -User header section's JSON
*/
std::optional<std::string> getJSON() const override;
- /**
- * @brief Helper function to get values from lookup tables.
- * @return std::string - the value
- * @param[in] uint8_t - field to get value for
- * @param[in] PELValues - lookup table
- */
- std::string getValue(const uint8_t field,
- const pel_values::PELValues& values) const;
-
private:
/**
* @brief Fills in the object from the stream data
OpenPOWER on IntegriCloud