lightnvm: pblk: remove checks on mempool alloc.
authorJavier González <javier@cnexlabs.com>
Fri, 13 Oct 2017 12:46:10 +0000 (14:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 14:34:57 +0000 (08:34 -0600)
commit2942f50fa389a62865572452dce6214a8aed69dc
treeaa2aad3383d32c0eb5b115d05469b406f5c4db95
parente72ec1d31bcb6dffe325418c6d96f2fcab7c2654
lightnvm: pblk: remove checks on mempool alloc.

As part of the mempool audit on pblk, remove unnecessary mempool
allocation checks on mempools.

Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-read.c
drivers/lightnvm/pblk-recovery.c
drivers/lightnvm/pblk-write.c