diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-01-13 22:23:34 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-01-16 03:27:10 -0500 |
commit | d8bf52311ecefd9b11a5af2b28ed7f41c6023516 (patch) | |
tree | d0f552d4b389ca7d3bc2a16fb3b1d2aec9fda682 /kernel/sched | |
parent | 88f1ebbc256e93bc029ec70b366612801f2c98ad (diff) |
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 <fengguang.wu@intel.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Juri Lelli <juri.lelli@gmail.com>
Link: http://lkml.kernel.org/n/tip-ke0shkG7vMnzmcdqhhiymyem@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/core.c | 11 |
1 files changed, 0 insertions, 11 deletions
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 | |||
@@ -297,17 +297,6 @@ __read_mostly int scheduler_running; | |||
297 | int sysctl_sched_rt_runtime = 950000; | 297 | int sysctl_sched_rt_runtime = 950000; |
298 | 298 | ||
299 | /* | 299 | /* |
300 | * Maximum bandwidth available for all -deadline tasks and groups | ||
301 | * (if group scheduling is configured) on each CPU. | ||
302 | * | ||
303 | * default: 5% | ||
304 | */ | ||
305 | unsigned int sysctl_sched_dl_period = 1000000; | ||
306 | int sysctl_sched_dl_runtime = 50000; | ||
307 | |||
308 | |||
309 | |||
310 | /* | ||
311 | * __task_rq_lock - lock the rq @p resides on. | 300 | * __task_rq_lock - lock the rq @p resides on. |
312 | */ | 301 | */ |
313 | static inline struct rq *__task_rq_lock(struct task_struct *p) | 302 | static inline struct rq *__task_rq_lock(struct task_struct *p) |