Skip to content

Commit

Permalink
Remove a bunch of no longer used variables
Browse files Browse the repository at this point in the history
  • Loading branch information
niner committed Dec 1, 2011
1 parent 984661b commit cc44287
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/scheduler.c
Expand Up @@ -209,7 +209,6 @@ void
Parrot_cx_next_task(PARROT_INTERP, ARGIN(PMC *scheduler))
{
ASSERT_ARGS(Parrot_cx_next_task)
Parrot_Scheduler_attributes * const sched = PARROT_SCHEDULER(scheduler);
PMC * const task = VTABLE_shift_pmc(interp, scheduler);

interp->cur_task = task;
Expand Down Expand Up @@ -315,7 +314,6 @@ void
Parrot_cx_check_quantum(PARROT_INTERP, ARGIN(PMC *scheduler))
{
ASSERT_ARGS(Parrot_cx_check_quantum)
Parrot_Scheduler_attributes * const sched = PARROT_SCHEDULER(scheduler);
const FLOATVAL time_now = Parrot_floatval_time();

if (Parrot_cx_preemption_enabled(interp) && time_now >= interp->quantum_done)
Expand Down Expand Up @@ -470,7 +468,6 @@ void
Parrot_cx_schedule_immediate(PARROT_INTERP, ARGIN(PMC *task_or_sub))
{
ASSERT_ARGS(Parrot_cx_schedule_immediate)
Parrot_Scheduler_attributes * const sched = PARROT_SCHEDULER(interp->scheduler);
PMC *task;

if (VTABLE_isa(interp, task_or_sub, CONST_STRING(interp, "Task"))) {
Expand Down

0 comments on commit cc44287

Please sign in to comment.