提交 781e263b 编写于 作者: R Rex Zhu 提交者: Alex Deucher

drm/amd/powerplay: delete duplicated code in vega10_hwmgr.c

Signed-off-by: NRex Zhu <Rex.Zhu@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 68e2c5ff
...@@ -4286,11 +4286,6 @@ static int vega10_force_clock_level(struct pp_hwmgr *hwmgr, ...@@ -4286,11 +4286,6 @@ static int vega10_force_clock_level(struct pp_hwmgr *hwmgr,
break; break;
case PP_MCLK: case PP_MCLK:
for (i = 0; i < 32; i++) {
if (mask & (1 << i))
break;
}
for (i = 0; i < 32; i++) { for (i = 0; i < 32; i++) {
if (mask & (1 << i)) if (mask & (1 << i))
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册