diff options
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/spd/spd_factory.C | 6 |
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 9c054b63b..751b05b4b 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; } |