summaryrefslogtreecommitdiff
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-06-17 14:34:09 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-21 15:10:22 -0700
commitc07e88c80f44d27752ca9c4ea36840742c835027 (patch)
tree9cef3d573d4b66be2e9145c8d47a6e51a0440cf1 /kernel/sched/sched.h
parentdcd111c96e4ddf88f5934f4fca0b12a599d3d5c0 (diff)
sched: remove unused parameter cpu from cpu_cycles_to_freq()
The function parameter cpu isn't used anymore by cpu_cycles_to_freq(). So remove it. Change-Id: Ide19321206dacb88fedca97e1b689d740f872866 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r--kernel/sched/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index ff2161cc9fc0..7db4d59d5ec3 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -1150,7 +1150,7 @@ static inline int cpu_max_power_cost(int cpu)
return cpu_rq(cpu)->cluster->max_power_cost;
}
-static inline u32 cpu_cycles_to_freq(int cpu, u64 cycles, u32 period)
+static inline u32 cpu_cycles_to_freq(u64 cycles, u32 period)
{
return div64_u64(cycles, period);
}