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/readeeprom.cpp b/readeeprom.cpp
index 500d1d8..3f04789 100644
--- a/readeeprom.cpp
+++ b/readeeprom.cpp
@@ -32,8 +32,7 @@
// Now that we have the file that contains the eeprom data, go read it
// and update the Inventory DB.
auto bus = sdbusplus::bus::new_default();
- bool bmc_fru = true;
- rc = validateFRUArea(fruid, eeprom_file.c_str(), bus, bmc_fru);
+ rc = validateFRUArea(fruid, eeprom_file.c_str(), bus);
return (rc < 0 ? EXIT_FAILURE : EXIT_SUCCESS);
}