drivers/block/aoe/aoedev: NULL check is not needed for mempool_destroy
authorzhong jiang <zhongjiang@huawei.com>
Wed, 8 Aug 2018 15:00:35 +0000 (23:00 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 8 Aug 2018 15:17:20 +0000 (09:17 -0600)
commit69daf897d75b31ff90031bb0a49a8d65cedfe3ca
tree42a7fa10acb54d5ddc01c3005ae870741b736fd6
parentd5fcc4e46e5168e6a6ce1e350ad0714a9d880c8e
drivers/block/aoe/aoedev: NULL check is not needed for mempool_destroy

mempool_destroy has taken the null pointer into account. So it is safe
to remove the null check.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoedev.c