summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C b/src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C
index f51626c31..21b2317f6 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C
@@ -477,14 +477,10 @@ fapi2::ReturnCode populate_decoder_caches( const fapi2::Target<TARGET_TYPE_DIMM>
return fapi2::FAPI2_RC_INVALID_PARAMETER;
}
- // This shouldn't be null so there is a specific decoder we are wanting to populate
- std::shared_ptr<decoder> l_pDecoder(i_pDecoder);
-
// Custom decoder provided (usually done for testing)
// Populate custom spd caches maps one dimm at a time
- o_factory_caches.emplace( std::make_pair( pos(i_target), l_pDecoder ) );
+ o_factory_caches.emplace( std::make_pair( pos(i_target), i_pDecoder ) );
- // TK - else what do we want here
return fapi2::FAPI2_RC_SUCCESS;
}
OpenPOWER on IntegriCloud