From 1af90f09ea490cac195c734a1ff52546f93a5d76 Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Thu, 10 May 2018 12:14:01 -0500 Subject: utility: Remove getInvService function The getInvService function is no longer used and is not necessary with the getService function within sdbusplus.hpp Tested: N/A Change-Id: Ibb2d55ef5be1852ae8ebd3dac32d66518d5d705c Signed-off-by: Matthew Barth --- utility.cpp | 6 ------ utility.hpp | 8 -------- 2 files changed, 14 deletions(-) diff --git a/utility.cpp b/utility.cpp index 249fe2f..1bb979e 100644 --- a/utility.cpp +++ b/utility.cpp @@ -29,12 +29,6 @@ using namespace phosphor::logging; using InternalFailure = sdbusplus::xyz::openbmc_project::Common:: Error::InternalFailure; -std::string getInvService(sdbusplus::bus::bus& bus) -{ - return getService(INVENTORY_PATH, INVENTORY_INTF, bus); -} - - std::string getService(const std::string& path, const std::string& interface, sdbusplus::bus::bus& bus) diff --git a/utility.hpp b/utility.hpp index bb23dea..fbae129 100644 --- a/utility.hpp +++ b/utility.hpp @@ -79,14 +79,6 @@ class FileDescriptor }; -/** - * @brief Get the inventory service name from the mapper object - * - * @return The inventory manager service name - */ -std::string getInvService(sdbusplus::bus::bus& bus); - - /** * @brief Get the service name from the mapper for the * interface and path passed in. -- cgit v1.2.1