summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2018-05-10 12:14:01 -0500
committerMatthew Barth <msbarth@us.ibm.com>2018-05-17 12:13:36 -0500
commit1af90f09ea490cac195c734a1ff52546f93a5d76 (patch)
tree9e36eac92ca0069d2a81a02d5b4783e9cf0b0477
parent17792cda3aa968116998391ef0982d7a9989c8da (diff)
downloadphosphor-fan-presence-1af90f09ea490cac195c734a1ff52546f93a5d76.tar.gz
phosphor-fan-presence-1af90f09ea490cac195c734a1ff52546f93a5d76.zip
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 <msbarth@us.ibm.com>
-rw-r--r--utility.cpp6
-rw-r--r--utility.hpp8
2 files changed, 0 insertions, 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
@@ -80,14 +80,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.
*
OpenPOWER on IntegriCloud