diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/zsmalloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index c19b99c8a457..089120429c18 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -288,8 +288,7 @@ static int create_handle_cache(struct zs_pool *pool) static void destroy_handle_cache(struct zs_pool *pool) { - if (pool->handle_cachep) - kmem_cache_destroy(pool->handle_cachep); + kmem_cache_destroy(pool->handle_cachep); } static unsigned long alloc_handle(struct zs_pool *pool) |