sched: apply class and guard cleanups
JIRA: https://issues.redhat.com/browse/RHEL-29017
Apply the changes using the macros in include/linux/cleanup.h providing
scoped guards. There is no real functional change. We rely on the compiler
to cleanup rather than having explicit unwiding with gotos.
Signed-off-by: Phil Auld pauld@redhat.com