[patch -mm 4/4] mempolicy: remove includes for duplicate headers

David Rientjes
2008-03-06T20:06:40Z

Remove #includes for:

linux/mempolicy.h (already from linux/migrate.h)
linux/mm.h (already from linux/highmem.h)
linux/kernel.h (already from linux/nodemask.h)
linux/nodemask.h (already from linux/sched.h)
linux/gfp.h (already from linux/slab.h)
linux/slab.h (already from linux/mempolicy.h)
linux/init.h (already from linux/mmzone.h)

Cc: Paul Jackson <pj@sgi.com>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: David Rientjes <rientjes@google.com>
---
mm/mempolicy.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/mm/mempolicy.c b/mm/mempolicy.c
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -65,21 +65,14 @@
kernel is not always grateful with that.
*/

-#include <linux/mempolicy.h>
-#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/hugetlb.h>
-#include <linux/kernel.h>
#include <linux/sched.h>
-#include <linux/nodemask.h>
#include <linux/cpuset.h>
-#include <linux/gfp.h>
-#include <linux/slab.h>
#include <linux/string.h>
#include <linux/module.h>
#include <linux/nsproxy.h>
#include <linux/interrupt.h>
-#include <linux/init.h>
#include <linux/compat.h>
#include <linux/swap.h>
#include <linux/seq_file.h>