summaryrefslogtreecommitdiffstats
path: root/utility.cpp
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 /utility.cpp
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>
Diffstat (limited to 'utility.cpp')
-rw-r--r--utility.cpp6
1 files changed, 0 insertions, 6 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)
OpenPOWER on IntegriCloud