lightnvm: make nvm_map_* return void
authorMatias Bjørling <matias@cnexlabs.com>
Tue, 31 Jan 2017 12:17:13 +0000 (13:17 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 31 Jan 2017 15:32:13 +0000 (08:32 -0700)
commit61a561d8d7d1e1cac46618d01aa3298eb447eece
tree7046e9abec147b20e59d01c80c1e760517b98d1b
parent8f4fe008fb256649bd0e16c96a6eafa3bd916ac3
lightnvm: make nvm_map_* return void

The only check there was done was a debugging check. Remove it and
replace the return value with void to reduce error checking.

Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c