Skip to content

Commit 51bd512

Browse files
YueHaibingPeter Zijlstra
authored andcommitted
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
1 parent 2586af1 commit 51bd512

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

kernel/sched/core.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -940,11 +940,6 @@ static inline unsigned int uclamp_bucket_id(unsigned int clamp_value)
940940
return clamp_value / UCLAMP_BUCKET_DELTA;
941941
}
942942

943-
static inline unsigned int uclamp_bucket_base_value(unsigned int clamp_value)
944-
{
945-
return UCLAMP_BUCKET_DELTA * uclamp_bucket_id(clamp_value);
946-
}
947-
948943
static inline unsigned int uclamp_none(enum uclamp_id clamp_id)
949944
{
950945
if (clamp_id == UCLAMP_MIN)

0 commit comments

Comments
 (0)