Skip to content
Commit f31a8969 authored by Wen Yang's avatar Wen Yang Committed by David Teigland
Browse files

dlm: NULL check before kmem_cache_destroy is not needed



kmem_cache_destroy(NULL) is safe, so removes NULL check before
freeing the mem. This patch also fix ifnullfree.cocci warnings.

Signed-off-by: default avatarWen Yang <wen.yang99@zte.com.cn>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 8fc6ed9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment