summaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorMichael Wang <wangyun@linux.vnet.ibm.com>2013-06-04 14:24:08 +0800
committerIngo Molnar <mingo@kernel.org>2013-06-19 12:58:41 +0200
commit8404c90d050733b3404dc36c500f63ccb0c972ce (patch)
tree7a9060c00505e6c14884a37cb4beaddc95d1aacd /kernel/sched
parent22b958d8cc5127d22d2ad2141277d312d93fad6c (diff)
downloadop-kernel-dev-8404c90d050733b3404dc36c500f63ccb0c972ce.zip
op-kernel-dev-8404c90d050733b3404dc36c500f63ccb0c972ce.tar.gz
sched: Femove the useless declaration in kernel/sched/fair.c
default_cfs_period(), do_sched_cfs_period_timer(), do_sched_cfs_slack_timer() already defined previously, no need to declare again. Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/51AD8808.7020608@linux.vnet.ibm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/fair.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 47a30be..c0ac2c3 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2618,10 +2618,6 @@ static void check_cfs_rq_runtime(struct cfs_rq *cfs_rq)
throttle_cfs_rq(cfs_rq);
}
-static inline u64 default_cfs_period(void);
-static int do_sched_cfs_period_timer(struct cfs_bandwidth *cfs_b, int overrun);
-static void do_sched_cfs_slack_timer(struct cfs_bandwidth *cfs_b);
-
static enum hrtimer_restart sched_cfs_slack_timer(struct hrtimer *timer)
{
struct cfs_bandwidth *cfs_b =
OpenPOWER on IntegriCloud