diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mempool.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/mempool.c b/mm/mempool.c index 32e75d400503..1a3bc3d4d554 100644 --- a/mm/mempool.c +++ b/mm/mempool.c | |||
@@ -308,13 +308,6 @@ void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data) | |||
308 | } | 308 | } |
309 | EXPORT_SYMBOL(mempool_kmalloc); | 309 | EXPORT_SYMBOL(mempool_kmalloc); |
310 | 310 | ||
311 | void *mempool_kzalloc(gfp_t gfp_mask, void *pool_data) | ||
312 | { | ||
313 | size_t size = (size_t)pool_data; | ||
314 | return kzalloc(size, gfp_mask); | ||
315 | } | ||
316 | EXPORT_SYMBOL(mempool_kzalloc); | ||
317 | |||
318 | void mempool_kfree(void *element, void *pool_data) | 311 | void mempool_kfree(void *element, void *pool_data) |
319 | { | 312 | { |
320 | kfree(element); | 313 | kfree(element); |