aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/slub.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 9b861b90cde1..3e8afcc07a76 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -5128,12 +5128,6 @@ static char *create_unique_id(struct kmem_cache *s)
5128 *p++ = '-'; 5128 *p++ = '-';
5129 p += sprintf(p, "%07d", s->size); 5129 p += sprintf(p, "%07d", s->size);
5130 5130
5131#ifdef CONFIG_MEMCG_KMEM
5132 if (!is_root_cache(s))
5133 p += sprintf(p, "-%08d",
5134 memcg_cache_id(s->memcg_params->memcg));
5135#endif
5136
5137 BUG_ON(p > name + ID_STR_LENGTH - 1); 5131 BUG_ON(p > name + ID_STR_LENGTH - 1);
5138 return name; 5132 return name;
5139} 5133}