summaryrefslogtreecommitdiffstats
path: root/fru_area.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-21 13:32:06 -0700
committerPatrick Venture <venture@google.com>2018-10-31 19:52:20 +0000
commit1816ff30cfb2796ec0b4b1122b03940857cd491a (patch)
treea5aa24dce239471c74d842936c63a9e4fc917b47 /fru_area.cpp
parent355c561df26f94351cd680938823738a5688fc62 (diff)
downloadipmi-fru-parser-1816ff30cfb2796ec0b4b1122b03940857cd491a.tar.gz
ipmi-fru-parser-1816ff30cfb2796ec0b4b1122b03940857cd491a.zip
IPMIFruArea: Add doxygen to class
Add doxygen to IPMIFruArea class. Change-Id: Ie28dd84c25df939671771741d7e4faca931e613e Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'fru_area.cpp')
-rw-r--r--fru_area.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/fru_area.cpp b/fru_area.cpp
index b25bfef..97ac3bd 100644
--- a/fru_area.cpp
+++ b/fru_area.cpp
@@ -8,9 +8,6 @@
using namespace phosphor::logging;
-//----------------------------------------------------------------
-// Constructor
-//----------------------------------------------------------------
IPMIFruArea::IPMIFruArea(const uint8_t fruID, const ipmi_fru_area_type type,
bool bmcOnlyFru) :
fruID(fruID),
@@ -43,10 +40,6 @@ IPMIFruArea::IPMIFruArea(const uint8_t fruID, const ipmi_fru_area_type type,
}
}
-//-----------------------------------------------------
-// For a FRU area type, accepts the data and updates
-// area specific data.
-//-----------------------------------------------------
void IPMIFruArea::setData(const uint8_t* value, const size_t length)
{
data.reserve(length); // pre-allocate the space.
OpenPOWER on IntegriCloud