Revert "sched/rt: code cleanup, remove a redundant function call"

This reverts commit d94e39160b25a87cdcff7a3b87c90b1b442874b9.