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.hpp b/fru_area.hpp
index 0bee9af..9a39f90 100644
--- a/fru_area.hpp
+++ b/fru_area.hpp
@@ -25,10 +25,8 @@
*
* @param[in] fruID - FRU identifier value
* @param[in] type - the type of FRU area.
- * @param[in] bmcOnlyFru - Is this FRU only accessible via the BMC
*/
- IPMIFruArea(const uint8_t fruID, const ipmi_fru_area_type type,
- bool bmcOnlyFru = false);
+ IPMIFruArea(const uint8_t fruID, const ipmi_fru_area_type type);
/**
* Set whether the FRU is present.
@@ -108,15 +106,9 @@
// Name of the FRU area. ( BOARD/CHASSIS/PRODUCT )
std::string name;
- // Special bit for BMC readable eeprom only.
- bool bmcOnlyFru = false;
-
// If a FRU is physically present.
bool isPresent = false;
- // Whether a particular area is valid ?
- bool isValid = false;
-
// Actual area data.
std::vector<uint8_t> data;
};