diff --git a/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp b/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp index 0abf24d977..7999590bb2 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp +++ b/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp @@ -400,11 +400,6 @@ bool LightningProgram::setKernels(amd::option::Options* options, void* binary, s return false; } - //Load the stored copy of the ELF binary. - binary_t stored_binary = this->binary(); - binary = const_cast(stored_binary.first); - binSize = stored_binary.second; - hsa_agent_t agent = dev().getBackendDevice(); hsa_status_t status;