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

From: David Rientjes
Date: Thu Mar 06 2008 - 15:06:41 EST


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@xxxxxxx>
Cc: Christoph Lameter <clameter@xxxxxxx>
Cc: Lee Schermerhorn <Lee.Schermerhorn@xxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>
---
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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/