[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707211703.32870.jesper.juhl@gmail.com>
Date: Sat, 21 Jul 2007 17:03:32 +0200
From: Jesper Juhl <jesper.juhl@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Jesper Juhl <jesper.juhl@...il.com>,
Paul Mundt <lethal@...ux-sh.org>,
Christoph Rohland <hans-christoph.rohland@....com>,
Christoph Rohland <ch.rohland@....net>,
Hugh Dickins <hugh@...itas.com>, Andi Kleen <ak@...e.de>,
Luke Kenneth Casson Leighton <lkcl@...l.net>,
James Morris <jmorris@...hat.com>,
Stephen Tweedie <sct@...hat.com>,
Rik van Riel <riel@...hat.com>
Subject: [PATCH][25/37] Clean up duplicate includes in mm/
Hi,
This patch cleans up duplicate includes in
mm/
Signed-off-by: Jesper Juhl <jesper.juhl@...il.com>
---
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index 71b84b4..888b96d 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -72,7 +72,6 @@
#include <linux/hugetlb.h>
#include <linux/kernel.h>
#include <linux/sched.h>
-#include <linux/mm.h>
#include <linux/nodemask.h>
#include <linux/cpuset.h>
#include <linux/gfp.h>
@@ -82,7 +81,6 @@
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/compat.h>
-#include <linux/mempolicy.h>
#include <linux/swap.h>
#include <linux/seq_file.h>
#include <linux/proc_fs.h>
diff --git a/mm/shmem.c b/mm/shmem.c
index fcd19d3..2c39925 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -49,7 +49,6 @@
#include <linux/ctype.h>
#include <linux/migrate.h>
#include <linux/highmem.h>
-#include <linux/backing-dev.h>
#include <asm/uaccess.h>
#include <asm/div64.h>
diff --git a/mm/swap.c b/mm/swap.c
index d3cb966..d93fa1e 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -24,12 +24,10 @@
#include <linux/module.h>
#include <linux/mm_inline.h>
#include <linux/buffer_head.h> /* for try_to_release_page() */
-#include <linux/module.h>
#include <linux/percpu_counter.h>
#include <linux/percpu.h>
#include <linux/cpu.h>
#include <linux/notifier.h>
-#include <linux/init.h>
/* How many pages do we try to swap or page in/out together? */
int page_cluster;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists