dbushelper: drop obsolete parameter from interface
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Idebae41e021f54c3670cc22aa6c784549a361c23
diff --git a/dbus/dbushelper.cpp b/dbus/dbushelper.cpp
index f8f087d..f7dbe41 100644
--- a/dbus/dbushelper.cpp
+++ b/dbus/dbushelper.cpp
@@ -39,8 +39,7 @@
/* TODO(venture): Basically all phosphor apps need this, maybe it should be a
* part of sdbusplus. There is an old version in libmapper.
*/
-std::string DbusHelper::getService(sdbusplus::bus::bus& bus,
- const std::string& intf,
+std::string DbusHelper::getService(const std::string& intf,
const std::string& path)
{
auto mapper =
@@ -74,8 +73,7 @@
return response.begin()->first;
}
-void DbusHelper::getProperties(sdbusplus::bus::bus& bus,
- const std::string& service,
+void DbusHelper::getProperties(const std::string& service,
const std::string& path,
struct SensorProperties* prop)
{
@@ -136,8 +134,7 @@
return;
}
-bool DbusHelper::thresholdsAsserted(sdbusplus::bus::bus& bus,
- const std::string& service,
+bool DbusHelper::thresholdsAsserted(const std::string& service,
const std::string& path)
{