diff options
Diffstat (limited to 'include/dbus_utility.hpp')
-rw-r--r-- | include/dbus_utility.hpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/dbus_utility.hpp b/include/dbus_utility.hpp index eac30991c8..e953a9f0eb 100644 --- a/include/dbus_utility.hpp +++ b/include/dbus_utility.hpp @@ -18,7 +18,6 @@ #include "dbus_singleton.hpp" #include <boost/system/error_code.hpp> // IWYU pragma: keep -#include <sdbusplus/asio/property.hpp> #include <sdbusplus/message/native_types.hpp> #include <array> @@ -95,7 +94,6 @@ using MapperGetAncestorsResponse = std::vector< std::vector<std::pair<std::string, std::vector<std::string>>>>>; using MapperGetSubTreePathsResponse = std::vector<std::string>; -using MapperEndPoints = std::vector<sdbusplus::message::object_path>; inline void escapePathForDbus(std::string& path) { @@ -195,15 +193,5 @@ inline void "xyz.openbmc_project.ObjectMapper", "GetObject", path, interfaces); } -inline void getAssociationEndPoints( - const std::string& path, - std::function<void(const boost::system::error_code&, - const MapperEndPoints&)>&& callback) -{ - sdbusplus::asio::getProperty<MapperEndPoints>( - *crow::connections::systemBus, "xyz.openbmc_project.ObjectMapper", path, - "xyz.openbmc_project.Association", "endpoints", std::move(callback)); -} - } // namespace utility } // namespace dbus |