sched/topology: Remove unused 'sd' parameter from arch_scale_cpu_capacity()
[linux-2.6-block.git] / kernel / sched / pelt.h
index 7489d5f56960a42df6ab182e55ab988ea5d9ce81..afff644da06500b4b817925e8f35824b8b69d0c5 100644 (file)
@@ -79,7 +79,7 @@ static inline void update_rq_clock_pelt(struct rq *rq, s64 delta)
         * Scale the elapsed time to reflect the real amount of
         * computation
         */
-       delta = cap_scale(delta, arch_scale_cpu_capacity(NULL, cpu_of(rq)));
+       delta = cap_scale(delta, arch_scale_cpu_capacity(cpu_of(rq)));
        delta = cap_scale(delta, arch_scale_freq_capacity(cpu_of(rq)));
 
        rq->clock_pelt += delta;