[PATCH]pid.c: remove unused header files

Previous thread: linux-next: Tree for August 10 by Stephen Rothwell on Monday, August 9, 2010 - 8:56 pm. (6 messages)

Next thread: [git pull] of_device-->platform_device mass rename and 2 regression fixes by Grant Likely on Monday, August 9, 2010 - 10:09 pm. (1 message)
From: Zhang, Wei-Jovi (NSN - CN/Hangzhou)
Date: Monday, August 9, 2010 - 9:42 pm

[PATCH]pid.c: remove unused header files

git diff kernel/pid.c
diff --git a/kernel/pid.c b/kernel/pid.c
index e9fd8c1..97fa0b7 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -27,15 +27,12 @@
  */
 
 #include <linux/mm.h>
-#include <linux/module.h>
-#include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/rculist.h>
 #include <linux/bootmem.h>
 #include <linux/hash.h>
 #include <linux/pid_namespace.h>
 #include <linux/init_task.h>
-#include <linux/syscalls.h>
 
 #define pid_hashfn(nr, ns)     \
        hash_long((unsigned long)nr + (unsigned long)ns, pidhash_shift)
--

Previous thread: linux-next: Tree for August 10 by Stephen Rothwell on Monday, August 9, 2010 - 8:56 pm. (6 messages)

Next thread: [git pull] of_device-->platform_device mass rename and 2 regression fixes by Grant Likely on Monday, August 9, 2010 - 10:09 pm. (1 message)