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

This reverts commit 853f543f235632b9895c1ddaeebe81824898fdff.