diff --git a/projects/amdsmi/src/rocm_smi_monitor.cc b/projects/amdsmi/src/rocm_smi_monitor.cc index 1d6de35aba..97ceeaacc1 100755 --- a/projects/amdsmi/src/rocm_smi_monitor.cc +++ b/projects/amdsmi/src/rocm_smi_monitor.cc @@ -335,7 +335,6 @@ Monitor::setTempSensorLabelMap(void) { temp_type_index_map_[t_type] = file_index; index_temp_type_map_.insert({file_index, t_type}); } - index_temp_type_map_.insert({file_index, t_type}); return 0; }; @@ -373,7 +372,6 @@ Monitor::setVoltSensorLabelMap(void) { volt_type_index_map_.insert({t_type, file_index}); index_volt_type_map_.insert({file_index, t_type}); } - index_volt_type_map_.insert({file_index, t_type}); return 0; };