Remove unused variables
Jenkins presubmit fails for all commits right now due to certain unused
variables. This commit aims to pass presubmit without regressing
functionality.
Tested: Presubmit passes
Change-Id: Ifdc7081b1154ce3ac2f3ab0828429660db35360a
Signed-off-by: Edward Lee <edwarddl@google.com>
diff --git a/include/dbus/file_notifier.hpp b/include/dbus/file_notifier.hpp
index c887ab2..83c92f9 100644
--- a/include/dbus/file_notifier.hpp
+++ b/include/dbus/file_notifier.hpp
@@ -29,8 +29,7 @@
CperFileNotifier(sdbusplus::bus_t& bus, const std::string& filePath,
uint64_t entry) :
FileNotifierInterface(bus, generatePath(entry).c_str(),
- action::emit_no_signals),
- entry(entry), bus(bus)
+ action::emit_no_signals)
{
// We only need the interface added signal for the fault monitor. So
// stop emitting properties changed signal.
@@ -42,13 +41,6 @@
private:
/**
- * @brief DBus index of the entry.
- */
- uint64_t entry;
-
- sdbusplus::bus_t& bus;
-
- /**
* @brief Generate a path for the CperFileNotifier DBus object.
*
* @param[in] entry - unique index for the DBus object.