dbushelper: drop obsolete parameter from interface
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Idebae41e021f54c3670cc22aa6c784549a361c23
diff --git a/dbus/dbusconfiguration.cpp b/dbus/dbusconfiguration.cpp
index 341a204..bcdea89 100644
--- a/dbus/dbusconfiguration.cpp
+++ b/dbus/dbusconfiguration.cpp
@@ -392,12 +392,12 @@
const std::string& path = sensorConfig[info.inputs.front()].readPath;
DbusHelper helper(sdbusplus::bus::new_system());
- std::string service = helper.getService(bus, interface, path);
+ std::string service = helper.getService(interface, path);
double reading = 0;
try
{
- helper.getProperty(bus, service, path, interface,
- *thresholdProperty, reading);
+ helper.getProperty(service, path, interface, *thresholdProperty,
+ reading);
}
catch (const sdbusplus::exception::SdBusError& ex)
{