summaryrefslogtreecommitdiffstats
path: root/fs/dlm/memory.h
diff options
context:
space:
mode:
authorWen Yang <wen.yang99@zte.com.cn>2018-11-28 15:25:00 +0800
committerDavid Teigland <teigland@redhat.com>2018-11-28 08:45:55 -0600
commitf31a89692830061bceba8469607e4e4b0f900159 (patch)
tree8af9d428a017b59e001b8faecfcb3f868989c3cc /fs/dlm/memory.h
parent8fc6ed9a3508a0435b9270c313600799d210d319 (diff)
downloadlinux-stable-f31a89692830061bceba8469607e4e4b0f900159.tar.gz
linux-stable-f31a89692830061bceba8469607e4e4b0f900159.tar.bz2
linux-stable-f31a89692830061bceba8469607e4e4b0f900159.zip
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: Wen Yang <wen.yang99@zte.com.cn> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/memory.h')
0 files changed, 0 insertions, 0 deletions