lightnvm: remove unused argument from nvm_set_tgt_bb_tbl
authorRakesh Pandit <rakesh@tuxera.com>
Fri, 13 Oct 2017 12:46:30 +0000 (14:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 14:34:57 +0000 (08:34 -0600)
commitef56b9ce562753cacf518f081a4ff3227efdab25
tree47658de4c214caa800d49ab11972b9165d8c5e30
parente480689bd1cc35f6ed3fa628bc8d913177b0726a
lightnvm: remove unused argument from nvm_set_tgt_bb_tbl

vblk isn't being used anyway and if we ever have a usecase we can
introduce this again.  This makes the logic easier and removes
unnecessary checks.

Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/core.c
include/linux/lightnvm.h