[patch 1/2] CPUFREQ ondemand: Enable already checked by the only caller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Thomas Renninger <trenn@xxxxxxx>

---
 drivers/cpufreq/cpufreq_ondemand.c |    3 ---
 1 file changed, 3 deletions(-)

Index: linux-2.6.29-master/drivers/cpufreq/cpufreq_ondemand.c
===================================================================
--- linux-2.6.29-master.orig/drivers/cpufreq/cpufreq_ondemand.c
+++ linux-2.6.29-master/drivers/cpufreq/cpufreq_ondemand.c
@@ -388,9 +388,6 @@ static void dbs_check_cpu(struct cpu_dbs
 	struct cpufreq_policy *policy;
 	unsigned int j;
 
-	if (!this_dbs_info->enable)
-		return;
-
 	this_dbs_info->freq_lo = 0;
 	policy = this_dbs_info->cur_policy;
 

--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux