[RFC PATCH] sched/fair: tg_set_cfs_slice() can be static

kbuild test robot
2018-05-01T00:30:21Z

Fixes: 601aedfafd22 ("sched/fair: make CFS bandwidth slice per cpu group")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index abc48d9..daa1843 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6665,7 +6665,7 @@ long tg_get_cfs_period(struct task_group *tg)
return cfs_period_us;
}

-int tg_set_cfs_slice(struct task_group *tg, long cfs_slice_us)
+static int tg_set_cfs_slice(struct task_group *tg, long cfs_slice_us)
{
u64 quota, slice;

@@ -6683,7 +6683,7 @@ int tg_set_cfs_slice(struct task_group *tg, long cfs_slice_us)
return 0;
}

-long tg_get_cfs_slice(struct task_group *tg)
+static long tg_get_cfs_slice(struct task_group *tg)
{
u64 slice_us;