* [PATCH][25/37] Clean up duplicate includes in mm/
@ 2007-07-21 15:03 Jesper Juhl
2007-07-21 16:45 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Jesper Juhl @ 2007-07-21 15:03 UTC (permalink / raw)
To: Linux Kernel Mailing List
Cc: Andrew Morton, Jesper Juhl, Paul Mundt, Christoph Rohland,
Christoph Rohland, Hugh Dickins, Andi Kleen,
Luke Kenneth Casson Leighton, James Morris, Stephen Tweedie,
Rik van Riel
Hi,
This patch cleans up duplicate includes in
mm/
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH][25/37] Clean up duplicate includes in mm/
2007-07-21 15:03 [PATCH][25/37] Clean up duplicate includes in mm/ Jesper Juhl
@ 2007-07-21 16:45 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2007-07-21 16:45 UTC (permalink / raw)
To: Jesper Juhl
Cc: Linux Kernel Mailing List, Andrew Morton, Christoph Rohland,
Christoph Rohland, Hugh Dickins, Andi Kleen,
Luke Kenneth Casson Leighton, James Morris, Stephen Tweedie,
Rik van Riel
On Sat, Jul 21, 2007 at 05:03:32PM +0200, Jesper Juhl wrote:
> This patch cleans up duplicate includes in
> mm/
>
>
> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Looks sane to me, and builds fine.
Acked-by: Paul Mundt <lethal@linux-sh.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-21 16:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-21 15:03 [PATCH][25/37] Clean up duplicate includes in mm/ Jesper Juhl
2007-07-21 16:45 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox