Skip to content
Commit c2115240 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

kcm: Remove unnecessary SLAB_PANIC for kmem_cache_create() in kcm_init



There has check NULL on kmem_cache_create on failure in kcm_init,
no need use SLAB_PANIC to panic the system.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 923b55cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment