Skip to content
Commit 4078def8 authored by Tim Hansen's avatar Tim Hansen Committed by Jens Axboe
Browse files

block/bio: Remove null checks before mempool_destroy in bioset_free



This patch removes redundant checks for null values on bio_pool and
bvec_pool.

Found using make coccicheck M=block/ on linux-net tree on the
next-20170929 tag.

Signed-off-by: default avatarTim Hansen <devtimhansen@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4b14a5c5
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