summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorHyeonggon Yoo <42.hyeyoo@gmail.com>2022-08-17 12:18:13 +0200
committerVlastimil Babka <vbabka@suse.cz>2022-08-24 16:11:40 +0200
commitc45248db04f8e3aca4798d67a394fb9cc2168118 (patch)
treeda45b4d7a1f0ee22ad7498b03291c022a660ef41 /mm/slab.c
parentmm/slab_common: remove CONFIG_NUMA ifdefs for common kmalloc functions (diff)
downloadlinux-c45248db04f8e3aca4798d67a394fb9cc2168118.tar.xz
linux-c45248db04f8e3aca4798d67a394fb9cc2168118.zip
mm/slab_common: cleanup kmalloc_track_caller()
Make kmalloc_track_caller() wrapper of kmalloc_node_track_caller(). Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Reviewed-by: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 0acd65358c83..611e630ff860 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3665,12 +3665,6 @@ void *__kmalloc(size_t size, gfp_t flags)
}
EXPORT_SYMBOL(__kmalloc);
-void *__kmalloc_track_caller(size_t size, gfp_t flags, unsigned long caller)
-{
- return __do_kmalloc(size, flags, caller);
-}
-EXPORT_SYMBOL(__kmalloc_track_caller);
-
/**
* kmem_cache_free - Deallocate an object
* @cachep: The cache the allocation was from.