From 49a6fcd515f5f778d4be55579eab6daee1c83574 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Tue, 18 Apr 2017 11:49:07 -0500 Subject: writefrudata: removed un-needed sd_bus_ref sdbusplus's bus object has a change in semantics that no longer require a 'sd_bus_ref' call. See changes for openbmc/openbmc#1432. Change-Id: I853b9d88aa5711d29be3edce5d4ad67bfd27b3d1 Signed-off-by: Patrick Williams --- writefrudata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writefrudata.cpp b/writefrudata.cpp index 80d5602..27ea6e2 100644 --- a/writefrudata.cpp +++ b/writefrudata.cpp @@ -319,7 +319,7 @@ int ipmi_update_inventory(fru_area_vec_t& area_vec, sd_bus* bus_sd) // Here we are just printing the object,interface and the properties. // which needs to be called with the new inventory manager implementation. - sdbusplus::bus::bus bus{sd_bus_ref(bus_sd)}; + sdbusplus::bus::bus bus{bus_sd}; using namespace std::string_literals; static const auto intf = "xyz.openbmc_project.Inventory.Manager"s; static const auto path = "/xyz/openbmc_project/inventory"s; -- cgit v1.2.1