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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Rientjes
Date: Thursday, March 6, 2008 - 1:05 pm

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>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch -mm 1/4] mempolicy: move rebind functions, David Rientjes, (Thu Mar 6, 1:05 pm)
[patch -mm 3/4] mempolicy: small header file cleanup, David Rientjes, (Thu Mar 6, 1:05 pm)
[patch -mm 4/4] mempolicy: remove includes for duplicate h ..., David Rientjes, (Thu Mar 6, 1:05 pm)
Re: Regression: Re: [patch -mm 2/4] mempolicy: create mem ..., Lee Schermerhorn, (Sat Mar 8, 11:49 am)