diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-07-03 18:04:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:40 -0400 |
commit | f6d480059bedaf4feb06466c770f5fcace9eca31 (patch) | |
tree | 6b933ffff526253471a4ef99f3400ca02c035954 | |
parent | 3645cb4a4eb2002dad17b314559badf8a20e55a7 (diff) |
mm, vmalloc: remove insert_vmalloc_vm()
Now this function is nowhere used, we can remove it directly.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Acked-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/vmalloc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index db48d513598f..bd60bffd9aef 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
@@ -1322,13 +1322,6 @@ static void clear_vm_unlist(struct vm_struct *vm) | |||
1322 | vm->flags &= ~VM_UNLIST; | 1322 | vm->flags &= ~VM_UNLIST; |
1323 | } | 1323 | } |
1324 | 1324 | ||
1325 | static void insert_vmalloc_vm(struct vm_struct *vm, struct vmap_area *va, | ||
1326 | unsigned long flags, const void *caller) | ||
1327 | { | ||
1328 | setup_vmalloc_vm(vm, va, flags, caller); | ||
1329 | clear_vm_unlist(vm); | ||
1330 | } | ||
1331 | |||
1332 | static struct vm_struct *__get_vm_area_node(unsigned long size, | 1325 | static struct vm_struct *__get_vm_area_node(unsigned long size, |
1333 | unsigned long align, unsigned long flags, unsigned long start, | 1326 | unsigned long align, unsigned long flags, unsigned long start, |
1334 | unsigned long end, int node, gfp_t gfp_mask, const void *caller) | 1327 | unsigned long end, int node, gfp_t gfp_mask, const void *caller) |