Skip to content
Commit 37b22c28 authored by Chengguang Xu's avatar Chengguang Xu Committed by Shaohua Li
Browse files

md: remvoe redundant condition check



mempool_destroy() can handle NULL pointer correctly,
so there is no need to check NULL pointer before calling
mempool_destroy().

Signed-off-by: default avatarChengguang Xu <cgxu519@gmx.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent be85f93a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment