sched.c: minor cleanup