aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorHuang Weiyi <weiyi.huang@gmail.com>2008-10-21 06:43:33 +0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 16:17:42 -0700
commita50c22eed593f474e75f693381e4d42e81762de8 (patch)
tree1190f39419d8068a6b735c0d9761ef80f1a12543 /mm
parente798ba57e9f423dddbf1bdeb20a62bdd0593890f (diff)
mm: remove duplicated #include's
Removed duplicated #include <linux/vmalloc.h> in mm/vmalloc.c and "internal.h" in mm/memory.c. Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/memory.c2
-rw-r--r--mm/vmalloc.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 3a6c4a65832..164951c4730 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -64,8 +64,6 @@
#include "internal.h"
-#include "internal.h"
-
#ifndef CONFIG_NEED_MULTIPLE_NODES
/* use the per-pgdat data instead for discontigmem - mbligh */
unsigned long max_mapnr;
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 0797589d51f..65ae576030d 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -17,7 +17,6 @@
#include <linux/interrupt.h>
#include <linux/seq_file.h>
#include <linux/debugobjects.h>
-#include <linux/vmalloc.h>
#include <linux/kallsyms.h>
#include <linux/list.h>
#include <linux/rbtree.h>