From: Javier González Date: Fri, 30 Jun 2017 15:56:36 +0000 (+0200) Subject: lightnvm: pblk: remove unused return variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=653cbb8472b88f0781d9191685bd6603f344214d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git lightnvm: pblk: remove unused return variable Remove unused variable. Signed-off-by: Javier González Signed-off-by: Matias Bjørling Signed-off-by: Jens Axboe --- diff --git a/drivers/lightnvm/pblk-sysfs.c b/drivers/lightnvm/pblk-sysfs.c index 22e6f2ad4aee..95fb434e2f01 100644 --- a/drivers/lightnvm/pblk-sysfs.c +++ b/drivers/lightnvm/pblk-sysfs.c @@ -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; }