diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-09-22 21:24:10 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-09-25 14:23:25 +0200 |
commit | 51bd5121c4eb25b911f6bc1ab4de5fe865fe0dcb (patch) | |
tree | 122f8ae6f6875bdd92f00b788dd7c7a3d860aab3 /kernel/sched | |
parent | 2586af1ac187f6b3a50930a4e33497074e81762d (diff) |
sched: Remove unused inline function uclamp_bucket_base_value()
There is no caller in tree, so can remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Link: https://lkml.kernel.org/r/20200922132410.48440-1-yuehaibing@huawei.com
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index c36dc1ae58be..dd32d859ab40 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -940,11 +940,6 @@ static inline unsigned int uclamp_bucket_id(unsigned int clamp_value) return clamp_value / UCLAMP_BUCKET_DELTA; } -static inline unsigned int uclamp_bucket_base_value(unsigned int clamp_value) -{ - return UCLAMP_BUCKET_DELTA * uclamp_bucket_id(clamp_value); -} - static inline unsigned int uclamp_none(enum uclamp_id clamp_id) { if (clamp_id == UCLAMP_MIN) |