]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9da7654c218b94e61ef1a0ba708baf28426ffa32
tree47658de4c214caa800d49ab11972b9165d8c5e30
parent04c0b20ad6f160dd36655b4167ea3389de331e2f
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