]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/sched.h
sched/core: Remove the tsk_cpus_allowed() wrapper
[mirror_ubuntu-bionic-kernel.git] / include / linux / sched.h
index df42cac04243f22c03e897b62ca80c7e3ffac66e..6d1cc20cc477d0405ebcef5be43fa809a0a1a856 100644 (file)
@@ -1995,9 +1995,6 @@ static inline struct vm_struct *task_stack_vm_area(const struct task_struct *t)
 }
 #endif
 
-/* Future-safe accessor for struct task_struct's cpus_allowed. */
-#define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
-
 static inline int tsk_nr_cpus_allowed(struct task_struct *p)
 {
        return p->nr_cpus_allowed;