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/writefrudata.hpp b/writefrudata.hpp
index af3ba1c..ad39ccc 100644
--- a/writefrudata.hpp
+++ b/writefrudata.hpp
@@ -48,9 +48,8 @@
* @param[in] fruid - The ID to use for this FRU.
* @param[in] fruFilename - the filename of the FRU.
* @param[in] bus - an sdbusplus systemd bus for publishing the information.
- * @param[in] bmcOnlyFru - If a particular area accessible only by BMC.
*/
int validateFRUArea(const uint8_t fruid, const char* fruFilename,
- sdbusplus::bus_t& bus, const bool bmcOnlyFru);
+ sdbusplus::bus_t& bus);
#endif