summaryrefslogtreecommitdiffstats
path: root/monitor/tach_sensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/tach_sensor.cpp')
-rw-r--r--monitor/tach_sensor.cpp12
1 files changed, 0 insertions, 12 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',"
OpenPOWER on IntegriCloud