提交 653cbb84 编写于 作者: J Javier González 提交者: Jens Axboe

lightnvm: pblk: remove unused return variable

Remove unused variable.
Signed-off-by: NJavier González <javier@cnexlabs.com>
Signed-off-by: NMatias Bjørling <matias@cnexlabs.com>
Signed-off-by: NJens Axboe <axboe@kernel.dk>
上级 2950e7e6
......@@ -322,7 +322,7 @@ static ssize_t pblk_sysfs_gc_force(struct pblk *pblk, const char *page,
size_t len)
{
size_t c_len;
int ret, force;
int force;
c_len = strcspn(page, "\n");
if (c_len >= len)
......@@ -331,7 +331,7 @@ static ssize_t pblk_sysfs_gc_force(struct pblk *pblk, const char *page,
if (kstrtouint(page, 0, &force))
return -EINVAL;
ret = pblk_gc_sysfs_force(pblk, force);
pblk_gc_sysfs_force(pblk, force);
return len;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册