]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm, vmalloc: remove insert_vmalloc_vm()
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thu, 27 Jun 2013 23:52:10 +0000 (09:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:55 +0000 (16:37 +1000)
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>
mm/vmalloc.c

index db48d513598f6906e19cb15d94853ecb9e156da9..bd60bffd9aefc08bee5c66a8c7e0b953a051d498 100644 (file)
@@ -1322,13 +1322,6 @@ static void clear_vm_unlist(struct vm_struct *vm)
        vm->flags &= ~VM_UNLIST;
 }
 
-static void insert_vmalloc_vm(struct vm_struct *vm, struct vmap_area *va,
-                             unsigned long flags, const void *caller)
-{
-       setup_vmalloc_vm(vm, va, flags, caller);
-       clear_vm_unlist(vm);
-}
-
 static struct vm_struct *__get_vm_area_node(unsigned long size,
                unsigned long align, unsigned long flags, unsigned long start,
                unsigned long end, int node, gfp_t gfp_mask, const void *caller)