diff options
| author | David Rientjes <rientjes@google.com> | 2011-01-13 15:46:00 -0800 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 17:32:34 -0800 | 
| commit | e5a5623b28198aa91ea71ee5d3846757fc76bc87 (patch) | |
| tree | 6fad408973a428a0ca2bdffd0c30a7c5af400ec9 | |
| parent | f3a310bc4e5ce7e55e1c8e25c31e63af017f3e50 (diff) | |
| download | olio-linux-3.10-e5a5623b28198aa91ea71ee5d3846757fc76bc87.tar.xz olio-linux-3.10-e5a5623b28198aa91ea71ee5d3846757fc76bc87.zip  | |
mm: remove unused get_vm_area_node
get_vm_area_node() is unused in the kernel and can thus be removed.
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -rw-r--r-- | include/linux/vmalloc.h | 3 | ||||
| -rw-r--r-- | mm/vmalloc.c | 7 | 
2 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h index 44b54f619ac..cb73c755fac 100644 --- a/include/linux/vmalloc.h +++ b/include/linux/vmalloc.h @@ -90,9 +90,6 @@ extern struct vm_struct *__get_vm_area_caller(unsigned long size,  					unsigned long flags,  					unsigned long start, unsigned long end,  					void *caller); -extern struct vm_struct *get_vm_area_node(unsigned long size, -					  unsigned long flags, int node, -					  gfp_t gfp_mask);  extern struct vm_struct *remove_vm_area(const void *addr);  extern int map_vm_area(struct vm_struct *area, pgprot_t prot, diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 48245af07b1..78ec9d8bc57 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -1315,13 +1315,6 @@ struct vm_struct *get_vm_area_caller(unsigned long size, unsigned long flags,  						-1, GFP_KERNEL, caller);  } -struct vm_struct *get_vm_area_node(unsigned long size, unsigned long flags, -				   int node, gfp_t gfp_mask) -{ -	return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END, -				  node, gfp_mask, __builtin_return_address(0)); -} -  static struct vm_struct *find_vm_area(const void *addr)  {  	struct vmap_area *va;  |