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

This reverts commit 70d0d130e8087a599a7fb5515c494bf33eac29bc.