diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -5266,7 +5266,6 @@ __initcall(slab_sysfs_init); | |||
5266 | #ifdef CONFIG_SLABINFO | 5266 | #ifdef CONFIG_SLABINFO |
5267 | void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo) | 5267 | void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo) |
5268 | { | 5268 | { |
5269 | unsigned long nr_partials = 0; | ||
5270 | unsigned long nr_slabs = 0; | 5269 | unsigned long nr_slabs = 0; |
5271 | unsigned long nr_objs = 0; | 5270 | unsigned long nr_objs = 0; |
5272 | unsigned long nr_free = 0; | 5271 | unsigned long nr_free = 0; |
@@ -5278,7 +5277,6 @@ void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo) | |||
5278 | if (!n) | 5277 | if (!n) |
5279 | continue; | 5278 | continue; |
5280 | 5279 | ||
5281 | nr_partials += n->nr_partial; | ||
5282 | nr_slabs += atomic_long_read(&n->nr_slabs); | 5280 | nr_slabs += atomic_long_read(&n->nr_slabs); |
5283 | nr_objs += atomic_long_read(&n->total_objects); | 5281 | nr_objs += atomic_long_read(&n->total_objects); |
5284 | nr_free += count_partial(n, count_free); | 5282 | nr_free += count_partial(n, count_free); |