]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
sched/headers: Remove #include <linux/capability.h> from <linux/sched.h>
authorIngo Molnar <mingo@kernel.org>
Thu, 2 Feb 2017 10:44:31 +0000 (11:44 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:31 +0000 (01:45 +0100)
The <linux/sched.h> header does not actually make use of any
types or APIs defined in <linux/capability.h>, so remove its inclusion.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h

index 43ed34ccb53a77202b531bafd0e3b9f90ad58838..54eefb2ad603fc73ee8a7f43cabddba631a1d06c 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <linux/sched/prio.h>
 
-#include <linux/capability.h>
 #include <linux/mutex.h>
 #include <linux/plist.h>
 #include <linux/mm_types_task.h>