Skip to content
Commit a12fc00b authored by zhong jiang's avatar zhong jiang Committed by Jens Axboe
Browse files

drivers/block/drbd: remove the null check for kmem_cache_destroy



kmem_cache_destroy has taken null pointer into account. So it is
safe to drop the null check before calling the function.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 69daf897
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