diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2017-04-18 11:49:07 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-04-18 11:49:09 -0500 |
commit | 49a6fcd515f5f778d4be55579eab6daee1c83574 (patch) | |
tree | 3d33716748fc89490e6c7541e0083386ba19d361 /writefrudata.cpp | |
parent | e42e6dfd2e441af5176073a0370ede23fcc996e0 (diff) | |
download | ipmi-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.cpp | 2 |
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; |