sensors: don't pass excess conn handler
We don't need to pass connection handler to setInitialProperties method
since it already part of the sensor class.
Tested: no changes in behaviour.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: Icaaccbeaf14e22648a6a1bce381f0f0a606b0ddd
diff --git a/src/IpmbSensor.cpp b/src/IpmbSensor.cpp
index 7c76d3b..0615c86 100644
--- a/src/IpmbSensor.cpp
+++ b/src/IpmbSensor.cpp
@@ -118,7 +118,7 @@
void IpmbSensor::init(void)
{
loadDefaults();
- setInitialProperties(dbusConnection, getSubTypeUnits());
+ setInitialProperties(getSubTypeUnits());
if (initCommand)
{
runInitCmd();