summaryrefslogtreecommitdiff
path: root/mm/slab.h
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.h')
-rw-r--r--mm/slab.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/slab.h b/mm/slab.h
index 50d86008a86a..511086b1364c 100644
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -535,9 +535,6 @@ static inline void alloc_tagging_slab_free_hook(struct kmem_cache *s, struct sla
struct slabobj_ext *obj_exts;
int i;
- if (!mem_alloc_profiling_enabled())
- return;
-
obj_exts = slab_obj_exts(slab);
if (!obj_exts)
return;