diff options
author | Javier González <javier@javigon.com> | 2018-06-01 15:04:22 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-06-01 15:43:53 +0200 |
commit | 8e55c07b2b9c24f1154dafd9a01befc00430df1e (patch) | |
tree | 4016f451b59c5dc280c10bc2e58925272fda8f80 /drivers/lightnvm/pblk-init.c | |
parent | lightnvm: pblk: remove unnecessary indirection (diff) | |
download | linux-8e55c07b2b9c24f1154dafd9a01befc00430df1e.tar.xz linux-8e55c07b2b9c24f1154dafd9a01befc00430df1e.zip |
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.c | 2 |
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) for (i = 0; i < l_mg->nr_lines; i++) { line = &pblk->lines[i]; - pblk_line_free(pblk, line); + pblk_line_free(line); pblk_line_meta_free(line); } spin_unlock(&l_mg->free_lock); |