aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk-init.c
diff options
context:
space:
mode:
authorJavier González <javier@javigon.com>2018-06-01 09:04:22 -0400
committerJens Axboe <axboe@kernel.dk>2018-06-01 09:43:53 -0400
commit8e55c07b2b9c24f1154dafd9a01befc00430df1e (patch)
tree4016f451b59c5dc280c10bc2e58925272fda8f80 /drivers/lightnvm/pblk-init.c
parente13f421ba81b970f0952b2911bfc34aa9db5197f (diff)
lightnvm: pblk: remove unnecessary argument
Remove unnecessary argument on pblk_line_free() Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-init.c')
-rw-r--r--drivers/lightnvm/pblk-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lightnvm/pblk-init.c b/drivers/lightnvm/pblk-init.c
index fe501e6d45fc..1e1771864da0 100644
--- a/drivers/lightnvm/pblk-init.c
+++ b/drivers/lightnvm/pblk-init.c
@@ -509,7 +509,7 @@ static void pblk_lines_free(struct pblk *pblk)
509 for (i = 0; i < l_mg->nr_lines; i++) { 509 for (i = 0; i < l_mg->nr_lines; i++) {
510 line = &pblk->lines[i]; 510 line = &pblk->lines[i];
511 511
512 pblk_line_free(pblk, line); 512 pblk_line_free(line);
513 pblk_line_meta_free(line); 513 pblk_line_meta_free(line);
514 } 514 }
515 spin_unlock(&l_mg->free_lock); 515 spin_unlock(&l_mg->free_lock);