summaryrefslogtreecommitdiffstats
path: root/fru_area.cpp
diff options
context:
space:
mode:
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