Browse Source

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>
Rex Zhu 8 years ago
parent
commit
781e263bff
1 changed files with 0 additions and 5 deletions
  1. 0 5
      drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c

+ 0 - 5
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c

@@ -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;