aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/thermal/cpu_cooling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 9b014d0e8e70..4c5db59a619b 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -444,7 +444,7 @@ static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev,
444 load = 0; 444 load = 0;
445 445
446 total_load += load; 446 total_load += load;
447 if (trace_thermal_power_cpu_limit_enabled() && load_cpu) 447 if (load_cpu)
448 load_cpu[i] = load; 448 load_cpu[i] = load;
449 449
450 i++; 450 i++;