From: Jesper Juhl <jesper.juhl@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Jesper Juhl <jesper.juhl@gmail.com>,
Paul Mundt <lethal@linux-sh.org>,
Christoph Rohland <hans-christoph.rohland@sap.com>,
Christoph Rohland <ch.rohland@gmx.net>,
Hugh Dickins <hugh@veritas.com>, Andi Kleen <ak@suse.de>,
Luke Kenneth Casson Leighton <lkcl@lkcl.net>,
James Morris <jmorris@redhat.com>,
Stephen Tweedie <sct@redhat.com>, Rik van Riel <riel@redhat.com>
Subject: [PATCH][25/37] Clean up duplicate includes in mm/
Date: Sat, 21 Jul 2007 17:03:32 +0200 [thread overview]
Message-ID: <200707211703.32870.jesper.juhl@gmail.com> (raw)
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;
next reply other threads:[~2007-07-21 15:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-21 15:03 Jesper Juhl [this message]
2007-07-21 16:45 ` [PATCH][25/37] Clean up duplicate includes in mm/ Paul Mundt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707211703.32870.jesper.juhl@gmail.com \
--to=jesper.juhl@gmail.com \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=ch.rohland@gmx.net \
--cc=hans-christoph.rohland@sap.com \
--cc=hugh@veritas.com \
--cc=jmorris@redhat.com \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkcl@lkcl.net \
--cc=riel@redhat.com \
--cc=sct@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.