Skip to contentSkip to conversation

Cpufreq: Remove fossil comment in the cpufreq_governor_dbs()

PATCH Applied Lan Tianyu 3 participants 3 messages Nov 15, 2013 – Nov 16, 2013 CPU frequency scaling framework

lore
Share & tools
lore

Lan Tianyu

author
#0 lore raw

PATCH 1/1 Cpufreq: Remove fossil comment in the cpufreq_governor_dbs()

The related code has been changed and the comment is out of data. So remove it.

---
 drivers/cpufreq/cpufreq_governor.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/cpufreq/cpufreq_governor.c +0 -4
index 0806c31..e6be635 100644
@@ -328,10 +328,6 @@ int cpufreq_governor_dbs(struct cpufreq_policy *policy,
 					     dbs_data->cdata->gov_dbs_timer);
 		}
 
-		/*
-		 * conservative does not implement micro like ondemand
-		 * governor, thus we are bound to jiffes/HZ
-		 */
 		if (dbs_data->cdata->governor == GOV_CONSERVATIVE) {
 			cs_dbs_info->down_skip = 0;
 			cs_dbs_info->enable = 1;
Signature · 1 line
1.8.4.rc0.1.g8f6a3e5.dirty
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Lan Tianyu

The related code has been changed and the comment is out of data. So remove it.

---
 drivers/cpufreq/cpufreq_governor.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/cpufreq/cpufreq_governor.c +0 -0
index 0806c31..e6be635 100644

drivers/cpufreq/cpufreq_governor.c int cpufreq_governor_dbs(struct cpufreq_policy *policy, · line 333

Quoted 10 lines
drivers/cpufreq/cpufreq_governor.c +0 -4
@@ -328,10 +328,6 @@ int cpufreq_governor_dbs(struct cpufreq_policy *policy,
                                             dbs_data->cdata->gov_dbs_timer);
                }
 
-               /*
-                * conservative does not implement micro like ondemand
-                * governor, thus we are bound to jiffes/HZ
-                */
                if (dbs_data->cdata->governor == GOV_CONSERVATIVE) {
                        cs_dbs_info->down_skip = 0;
                        cs_dbs_info->enable = 1;
#2 lore raw
Quoted 17 lines · Viresh Kumar
Quoted 16 lines · Lan Tianyu

The related code has been changed and the comment is out of data. So remove it.

---
 drivers/cpufreq/cpufreq_governor.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/cpufreq/cpufreq_governor.c +0 -0
index 0806c31..e6be635 100644
@@ -328,10 +328,6 @@ int cpufreq_governor_dbs(struct cpufreq_policy *policy,
                                             dbs_data->cdata->gov_dbs_timer);
                }
 
Quoted 9 lines

drivers/cpufreq/cpufreq_governor.c int cpufreq_governor_dbs(struct cpufreq_policy *policy, · line 333

Quoted 7 lines
drivers/cpufreq/cpufreq_governor.c +0 -4
-               /*
-                * conservative does not implement micro like ondemand
-                * governor, thus we are bound to jiffes/HZ
-                */
                if (dbs_data->cdata->governor == GOV_CONSERVATIVE) {
                        cs_dbs_info->down_skip = 0;
                        cs_dbs_info->enable = 1;

Queued up for the next PM pull request, thanks!

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.