Skip to content

Commit 93039a6

Browse files
committed
cpufreq/amd-pstate: Drop debug statements for policy setting
There are trace events that exist now for all amd-pstate modes that will output information right before programming to the hardware. This makes the existing debug statements unnecessary remaining overhead. Drop them. Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com> Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
1 parent 1905fac commit 93039a6

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/cpufreq/amd-pstate.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,6 @@ static int amd_pstate_verify(struct cpufreq_policy_data *policy_data)
667667
}
668668

669669
cpufreq_verify_within_cpu_limits(policy_data);
670-
pr_debug("policy_max =%d, policy_min=%d\n", policy_data->max, policy_data->min);
671670

672671
return 0;
673672
}
@@ -1630,9 +1629,6 @@ static int amd_pstate_epp_set_policy(struct cpufreq_policy *policy)
16301629
if (!policy->cpuinfo.max_freq)
16311630
return -ENODEV;
16321631

1633-
pr_debug("set_policy: cpuinfo.max %u policy->max %u\n",
1634-
policy->cpuinfo.max_freq, policy->max);
1635-
16361632
cpudata->policy = policy->policy;
16371633

16381634
ret = amd_pstate_epp_update_limit(policy);

0 commit comments

Comments
 (0)