diff --git a/py-interface/amdsmi_interface.py b/py-interface/amdsmi_interface.py index 911ec04b93..33590d3078 100644 --- a/py-interface/amdsmi_interface.py +++ b/py-interface/amdsmi_interface.py @@ -4399,8 +4399,6 @@ def amdsmi_get_clk_freq( ) ) - clk_type_str = AmdSmiClkType(clk_type).name - dict_ret = { "num_supported": freq.num_supported, "current": freq.current, diff --git a/src/amd_smi/amd_smi_utils.cc b/src/amd_smi/amd_smi_utils.cc index 44013cebe9..4ac19f946a 100644 --- a/src/amd_smi/amd_smi_utils.cc +++ b/src/amd_smi/amd_smi_utils.cc @@ -422,7 +422,6 @@ amdsmi_status_t smi_amdgpu_get_ranges(amd::smi::AMDSmiGPUDevice* device, amdsmi_ char lastChar = line.back(); if (lastChar == '*'){ current_freq = freq; - continue; } // not * was detected so check for the min max if not s or mclk, which are user defined