path: root/drivers/lightnvm
diff options
authorRakesh Pandit <rakesh@tuxera.com>2017-10-13 14:46:29 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 08:34:57 -0600
commite480689bd1cc35f6ed3fa628bc8d913177b0726a (patch)
tree3467258d9c178b2adef94631662874eaccbb1c9f /drivers/lightnvm
parent27b978725d895e704aab44b99242a0514485d798 (diff)
lightnvm: pblk: remove useless line
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>
Diffstat (limited to 'drivers/lightnvm')
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/lightnvm/pblk-core.c b/drivers/lightnvm/pblk-core.c
index e38e91897246..43866ad87586 100644
--- a/drivers/lightnvm/pblk-core.c
+++ b/drivers/lightnvm/pblk-core.c
@@ -1071,7 +1071,6 @@ static int pblk_line_init_bb(struct pblk *pblk, struct pblk_line *line,
/* Mark emeta metadata sectors as bad sectors. We need to consider bad
* blocks to make sure that there are enough sectors to store emeta
- bit = lm->sec_per_line;
off = lm->sec_per_line - lm->emeta_sec[0];
bitmap_set(line->invalid_bitmap, off, lm->emeta_sec[0]);
while (nr_bb) {

Privacy Policy