summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>2013-07-09 00:59:55 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 19:33:21 +0200
commit9da3f59fbdb57c9447ddb42681f6ab98faef353a (patch)
treeafe705f7fa60960aa032be14d6ba716737ff4101 /mm/vmalloc.c
parentmm/vmalloc.c: remove dead code in vb_alloc (diff)
downloadlinux-9da3f59fbdb57c9447ddb42681f6ab98faef353a.tar.xz
linux-9da3f59fbdb57c9447ddb42681f6ab98faef353a.zip
mm/vmalloc.c: remove unused purge_fragmented_blocks_thiscpu
This function is nowhere used now, so remove it. Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r--mm/vmalloc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index a35f4f5bb908..99d045a0a0eb 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -891,11 +891,6 @@ static void purge_fragmented_blocks(int cpu)
}
}
-static void purge_fragmented_blocks_thiscpu(void)
-{
- purge_fragmented_blocks(smp_processor_id());
-}
-
static void purge_fragmented_blocks_allcpus(void)
{
int cpu;