drm/amd/powerplay: delete duplicated code in vega10_hwmgr.c
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
68e2c5ffeb
commit
781e263bff
|
@ -4286,11 +4286,6 @@ static int vega10_force_clock_level(struct pp_hwmgr *hwmgr,
|
|||
break;
|
||||
|
||||
case PP_MCLK:
|
||||
for (i = 0; i < 32; i++) {
|
||||
if (mask & (1 << i))
|
||||
break;
|
||||
}
|
||||
|
||||
for (i = 0; i < 32; i++) {
|
||||
if (mask & (1 << i))
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue