From: Peter Zijlstra Date: Tue, 14 Jan 2014 03:23:34 +0000 (+0800) Subject: sched/deadline: Remove unused variables X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8bf52311ecefd9b11a5af2b28ed7f41c6023516;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sched/deadline: Remove unused variables fix these new sparse warnings: >> kernel/sched/core.c:305:14: sparse: symbol 'sysctl_sched_dl_period' was not declared. Should it be static? >> kernel/sched/core.c:306:5: sparse: symbol 'sysctl_sched_dl_runtime' was not declared. Should it be static? Better still, they're completely unused so remove them. Reported-by: Fengguang Wu Signed-off-by: Peter Zijlstra Cc: Juri Lelli Link: http://lkml.kernel.org/n/tip-ke0shkG7vMnzmcdqhhiymyem@git.kernel.org Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 0326c06953eb..138711b5bf19 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -296,17 +296,6 @@ __read_mostly int scheduler_running; */ int sysctl_sched_rt_runtime = 950000; -/* - * Maximum bandwidth available for all -deadline tasks and groups - * (if group scheduling is configured) on each CPU. - * - * default: 5% - */ -unsigned int sysctl_sched_dl_period = 1000000; -int sysctl_sched_dl_runtime = 50000; - - - /* * __task_rq_lock - lock the rq @p resides on. */