associations: drop unused server parameter
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ic6d406b09f2552dcf0d6bf9ba284b37690f1563e
diff --git a/src/associations.cpp b/src/associations.cpp
index 995b1a4..306afe5 100644
--- a/src/associations.cpp
+++ b/src/associations.cpp
@@ -534,13 +534,11 @@
* @param[in] endpointPath - the endpoint object path
* @param[in] owner - the owner of the association
* @param[in,out] assocMaps - the association maps
- * @param[in,out] server - sdbus system object
*/
void removeAssociationOwnersEntry(const std::string& assocPath,
const std::string& endpointPath,
const std::string& owner,
- AssociationMaps& assocMaps,
- sdbusplus::asio::object_server&)
+ AssociationMaps& assocMaps)
{
auto sources = assocMaps.owners.begin();
while (sources != assocMaps.owners.end())
@@ -607,8 +605,8 @@
// Remove both sides of the association from assocMaps.owners
removeAssociationOwnersEntry(forwardPath + '/' + forwardType,
- reversePath, owner, assocMaps, server);
+ reversePath, owner, assocMaps);
removeAssociationOwnersEntry(reversePath + '/' + reverseType,
- forwardPath, owner, assocMaps, server);
+ forwardPath, owner, assocMaps);
}
}