mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
lightnvm: pblk: remove unused return variable
Remove unused variable. Signed-off-by: Javier González <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
2950e7e610
commit
653cbb8472
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue