diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/i2o.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/i2o.h b/include/linux/i2o.h index 5a9d8c599171..dd7d627bf66f 100644 --- a/include/linux/i2o.h +++ b/include/linux/i2o.h | |||
| @@ -950,9 +950,7 @@ static inline int i2o_pool_alloc(struct i2o_pool *pool, const char *name, | |||
| 950 | if (!pool->slab) | 950 | if (!pool->slab) |
| 951 | goto free_name; | 951 | goto free_name; |
| 952 | 952 | ||
| 953 | pool->mempool = | 953 | pool->mempool = mempool_create_slab_pool(min_nr, pool->slab); |
| 954 | mempool_create(min_nr, mempool_alloc_slab, mempool_free_slab, | ||
| 955 | pool->slab); | ||
| 956 | if (!pool->mempool) | 954 | if (!pool->mempool) |
| 957 | goto free_slab; | 955 | goto free_slab; |
| 958 | 956 | ||
