diff options
author | Christoph Lameter <cl@linux.com> | 2011-01-20 12:12:26 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-01-23 14:00:05 -0500 |
commit | 63310467a3d1ed6a0460ec1f4268126cd1ceec2e (patch) | |
tree | f5bf7e48fe119bffe1111b50767280c4af310505 /mm/slub.c | |
parent | 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 (diff) |
mm: Remove support for kmem_cache_name()
The last user was ext4 and Eric Sandeen removed the call in a recent patch. See
the following URL for the discussion:
http://marc.info/?l=linux-ext4&m=129546975702198&w=2
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -2399,12 +2399,6 @@ unsigned int kmem_cache_size(struct kmem_cache *s) | |||
2399 | } | 2399 | } |
2400 | EXPORT_SYMBOL(kmem_cache_size); | 2400 | EXPORT_SYMBOL(kmem_cache_size); |
2401 | 2401 | ||
2402 | const char *kmem_cache_name(struct kmem_cache *s) | ||
2403 | { | ||
2404 | return s->name; | ||
2405 | } | ||
2406 | EXPORT_SYMBOL(kmem_cache_name); | ||
2407 | |||
2408 | static void list_slab_objects(struct kmem_cache *s, struct page *page, | 2402 | static void list_slab_objects(struct kmem_cache *s, struct page *page, |
2409 | const char *text) | 2403 | const char *text) |
2410 | { | 2404 | { |