aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/cpu_cooling.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 34d807bc5c3f..be04bb419fd7 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -183,7 +183,6 @@ static int get_property(unsigned int cpu, unsigned long input,
183 if (property == GET_FREQ) 183 if (property == GET_FREQ)
184 level = descend ? input : (max_level - input -1); 184 level = descend ? input : (max_level - input -1);
185 185
186
187 for (i = 0, j = 0; table[i].frequency != CPUFREQ_TABLE_END; i++) { 186 for (i = 0, j = 0; table[i].frequency != CPUFREQ_TABLE_END; i++) {
188 /* ignore invalid entry */ 187 /* ignore invalid entry */
189 if (table[i].frequency == CPUFREQ_ENTRY_INVALID) 188 if (table[i].frequency == CPUFREQ_ENTRY_INVALID)