Scheduler unused code cleanup

Let me know if this is overaggressive pruning!