summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Weiyi <weiyi.huang@gmail.com>2008-10-21 00:43:33 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-21 01:17:42 +0200
commita50c22eed593f474e75f693381e4d42e81762de8 (patch)
tree1190f39419d8068a6b735c0d9761ef80f1a12543
parentExport tiny shmem_file_setup for DRM-GEM (diff)
downloadlinux-a50c22eed593f474e75f693381e4d42e81762de8.tar.xz
linux-a50c22eed593f474e75f693381e4d42e81762de8.zip
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>
-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 3a6c4a658325..164951c47305 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 0797589d51f8..65ae576030da 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>