sensor-mon: Remove unused variable
Fix clang-tidy error:
```
../sensor-monitor/threshold_alarm_logger.hpp:211:25: error: private field 'event' is not used [-Werror,-Wunused-private-field]
```
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I35ef3a74be5e1db36d39c6ffafbd11e5a784ba87
diff --git a/sensor-monitor/threshold_alarm_logger.hpp b/sensor-monitor/threshold_alarm_logger.hpp
index 8b63360..5412208 100644
--- a/sensor-monitor/threshold_alarm_logger.hpp
+++ b/sensor-monitor/threshold_alarm_logger.hpp
@@ -64,10 +64,9 @@
* Looks for existing active threshold alarms.
*
* @param[in] bus - The sdbusplus bus object
- * @param[in] event - The sdeventplus event object
* @param[in] powerState - The PowerState object
*/
- ThresholdAlarmLogger(sdbusplus::bus_t& bus, sdeventplus::Event& event,
+ ThresholdAlarmLogger(sdbusplus::bus_t& bus,
std::shared_ptr<phosphor::fan::PowerState> powerState);
private:
@@ -206,11 +205,6 @@
sdbusplus::bus_t& bus;
/**
- * @brief The sdeventplus Event object
- */
- sdeventplus::Event& event;
-
- /**
* @brief The PowerState object to track power state changes.
*/
std::shared_ptr<phosphor::fan::PowerState> _powerState;