monitor: Remove _active from PowerOffAction
It isn't used anywhere.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I4697a3ff775206501b1e000b8ce14de7637453b4
diff --git a/monitor/power_off_action.hpp b/monitor/power_off_action.hpp
index 59b1406..f815a3b 100644
--- a/monitor/power_off_action.hpp
+++ b/monitor/power_off_action.hpp
@@ -85,18 +85,6 @@
virtual bool cancel(bool force) = 0;
/**
- * @brief If the power off action is currently in progress, which
- * usually means it's still in the delay time before the
- * power off D-Bus command is executed.
- *
- * @return bool - If the action is active
- */
- bool active() const
- {
- return _active;
- }
-
- /**
* @brief Returns the name of the action
*
* @return const std::string& - The name
@@ -114,11 +102,6 @@
const std::string _name;
/**
- * @brief If the action is currently active or not.
- */
- bool _active = false;
-
- /**
* @brief The object used to invoke the power off with.
*/
std::shared_ptr<PowerInterfaceBase> _powerIface;