Schedule.c: remove some unused parameters