[PATCH openEuler-26.09 092/408] sched: Simplify sched_{set,get}affinity()