Use static path for inventory manager

During boot after sending the inventory details host is
asking for the a sensor value, that request is getting blocked because
the ipmid on BMC is busy with processing the inventory data.
Adding an optimization in processing inventory, which will reduce the
wait.

Change-Id: I490c98220e0244fb6c766432aa1ea8cf25ae1502
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/sensordatahandler.cpp b/sensordatahandler.cpp
index aca81c7..1776ec7 100644
--- a/sensordatahandler.cpp
+++ b/sensordatahandler.cpp
@@ -286,11 +286,8 @@
     sdbusplus::bus::bus bus{ipmid_get_sd_bus_connection()};
     using namespace std::string_literals;
 
-    std::string dbusService;
-    std::string dbusPath;
-
-    std::tie(dbusPath, dbusService) = getServiceAndPath(bus,
-                                      updateInterface);
+    static const auto dbusPath = "/xyz/openbmc_project/inventory"s;
+    std::string dbusService = ipmi::getService(bus, updateInterface, dbusPath);
 
     return bus.new_method_call(dbusService.c_str(),
                                dbusPath.c_str(),