/* Note that you have to return all objects to the mempool again before calling i2o_pool_free().  */
void i2o_pool_free(struct i2o_pool *pool)
/* Note that you have to return all objects to the mempool again before calling i2o_pool_free().  */
void i2o_pool_free(struct i2o_pool *pool)
{
	mempool_destroy(pool->mempool);
	kmem_cache_destroy(pool->slab);
	kfree(pool->name);
}