[PATCH 12/35] sched/headers: Remove #include <linux/capability.h> from <linux/sched.h>

From: Ingo Molnar
Date: Wed Feb 08 2017 - 14:12:35 EST


The <linux/sched.h> header does not actually make use of any
types or APIs defined in <linux/capability.h>, so remove its inclusion.

Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Mike Galbraith <efault@xxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
include/linux/sched.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index dc0c024333e2..117b7661b982 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -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>
--
2.7.4