diff options
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/tach_sensor.cpp | 12 | ||||
-rw-r--r-- | monitor/tach_sensor.hpp | 5 |
2 files changed, 0 insertions, 17 deletions
diff --git a/monitor/tach_sensor.cpp b/monitor/tach_sensor.cpp index bcdde0f..0ec52ba 100644 --- a/monitor/tach_sensor.cpp +++ b/monitor/tach_sensor.cpp @@ -26,7 +26,6 @@ namespace fan namespace monitor { -constexpr auto PROPERTY_INTF = "org.freedesktop.DBus.Properties"; constexpr auto FAN_SENSOR_PATH = "/xyz/openbmc_project/sensors/fan_tach/"; constexpr auto FAN_SENSOR_CONTROL_INTF = "xyz.openbmc_project.Control.FanSpeed"; constexpr auto FAN_SENSOR_VALUE_INTF = "xyz.openbmc_project.Sensor.Value"; @@ -115,17 +114,6 @@ TachSensor::TachSensor(sdbusplus::bus::bus& bus, } -//Can cache this value after openbmc/openbmc#1496 is resolved -std::string TachSensor::getService() -{ - // Use the Value interface since not all sensors implement - // the control interface. - return phosphor::fan::util::getService(_name, - FAN_SENSOR_VALUE_INTF, - _bus); -} - - std::string TachSensor::getMatchString(const std::string& interface) { return std::string("type='signal'," diff --git a/monitor/tach_sensor.hpp b/monitor/tach_sensor.hpp index d564f73..fbda37b 100644 --- a/monitor/tach_sensor.hpp +++ b/monitor/tach_sensor.hpp @@ -122,11 +122,6 @@ class TachSensor private: /** - * @brief Returns the service name for reading the sensor - */ - std::string getService(); - - /** * @brief Returns the match string to use for matching * on a properties changed signal. */ |