commit | 4078def82f352cf5007691635da290a109511bc5 | [log] [tgz] |
---|---|---|
author | Tim Hansen <devtimhansen@gmail.com> | Fri Oct 06 14:45:13 2017 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Oct 06 13:03:14 2017 -0600 |
tree | c246c05286693c2fd06528a59ffe883e06b2706e | |
parent | 4b14a5c5d57f4fd6929db3427ba4d7c3775b4680 [diff] |
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: Tim Hansen <devtimhansen@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>