Skip to content

Commit

Permalink
sched/deadline: Remove unused variables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Jan 16, 2014
1 parent 88f1ebb commit d8bf523
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit d8bf523

Please sign in to comment.