lightnvm: pblk: refactor pblk_ppa_comp function
authorMatias Bjørling <m@bjorling.me>
Fri, 5 Jan 2018 13:16:21 +0000 (14:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jan 2018 15:50:12 +0000 (08:50 -0700)
commit8b7bc849889d36572af5c6e3c3b2ad4b19a81be7
tree9f251824dd02097a6ced400d221a42181014b614
parent998ba62973132e886b0411f00bc66fbb31507e84
lightnvm: pblk: refactor pblk_ppa_comp function

Shorten function to simply return the value of the if statement.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk.h