Skip to contentSkip to conversation

Cpufreq: Remove fossil comment of cpufreq_set_policy

PATCH New [email protected] 1 participant 1 message Sep 10, 2013 CPU frequency scaling framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Cpufreq: Remove fossil comment of cpufreq_set_policy

From: Lan Tianyu <[email protected]>

The cpufreq_set_policy() has been removed by commit 632786c. So remove related comment.

---
Update: miss signed-off due to using my new script. Sorry for nosiy.

 drivers/cpufreq/cpufreq.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/cpufreq/cpufreq.c +0 -4
index 5c75e31..a504313 100644
@@ -506,10 +506,6 @@ static ssize_t store_scaling_governor(struct cpufreq_policy *policy,
 						&new_policy.governor))
 		return -EINVAL;
 
-	/*
-	 * Do not use cpufreq_set_policy here or the user_policy.max
-	 * will be wrongly overridden
-	 */
 	ret = __cpufreq_set_policy(policy, &new_policy);
 
 	policy->user_policy.policy = policy->policy;
Signature · 1 line
1.8.2.1