init_task: Remove unneeded pid_namespace.h and utsname.h includes
Commit Message
Remove pid_namespace.h and utsname.h from init_task.h
They are not needed any more.
<linux/pid_namespace.h>
- added in commit 9a575a92db33 ("[PATCH] to nsproxy")
- needed because of 'init_pid_ns'
<linux/utsname.h>
- added in commit 4865ecf1315b ("[PATCH] namespaces: utsname: implement
utsname namespaces")
- needed because of 'init_uts_ns'
Both use have been moved in "kernel/nsproxy.c" in commit 8467005da3ef
("nsproxy: remove INIT_NSPROXY()").
"kernel/nsproxy.c" already includes the 2 corresponding includes.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
Let see if build-bots agree with me!
---
include/linux/init_task.h | 2 --
1 file changed, 2 deletions(-)
@@ -4,11 +4,9 @@
#include <linux/rcupdate.h>
#include <linux/irqflags.h>
-#include <linux/utsname.h>
#include <linux/lockdep.h>
#include <linux/ftrace.h>
#include <linux/ipc.h>
-#include <linux/pid_namespace.h>
#include <linux/user_namespace.h>
#include <linux/seqlock.h>
#include <linux/rbtree.h>