clang-tidy: Fix unused private field warnings
Resolved -Wunused-private-field warnings flagged by clang-tidy
by eliminating unused private member variables from the class.
Change-Id: I12054e7e32507bf14a3fff0ba2dac4ec4c8f7327
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/fru_area.cpp b/fru_area.cpp
index 328ebad..e1ac49d 100644
--- a/fru_area.cpp
+++ b/fru_area.cpp
@@ -9,9 +9,8 @@
using namespace phosphor::logging;
-IPMIFruArea::IPMIFruArea(const uint8_t fruID, const ipmi_fru_area_type type,
- bool bmcOnlyFru) :
- fruID(fruID), type(type), bmcOnlyFru(bmcOnlyFru)
+IPMIFruArea::IPMIFruArea(const uint8_t fruID, const ipmi_fru_area_type type) :
+ fruID(fruID), type(type)
{
if (type == IPMI_FRU_AREA_INTERNAL_USE)
{