summaryrefslogtreecommitdiffstats
path: root/writefrudata.cpp
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2017-04-18 11:49:07 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-04-18 11:49:09 -0500
commit49a6fcd515f5f778d4be55579eab6daee1c83574 (patch)
tree3d33716748fc89490e6c7541e0083386ba19d361 /writefrudata.cpp
parente42e6dfd2e441af5176073a0370ede23fcc996e0 (diff)
downloadipmi-fru-parser-49a6fcd515f5f778d4be55579eab6daee1c83574.tar.gz
ipmi-fru-parser-49a6fcd515f5f778d4be55579eab6daee1c83574.zip
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 <patrick@stwcx.xyz>
Diffstat (limited to 'writefrudata.cpp')
-rw-r--r--writefrudata.cpp2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud