projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2950e7e
)
lightnvm: pblk: remove unused return variable
author
Javier González
<jg@lightnvm.io>
Fri, 30 Jun 2017 15:56:36 +0000
(17:56 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 30 Jun 2017 17:08:18 +0000
(11:08 -0600)
Remove unused variable.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-sysfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/lightnvm/pblk-sysfs.c
b/drivers/lightnvm/pblk-sysfs.c
index 22e6f2ad4aeeccfbe7613b83809fb6667cfc4464..95fb434e2f01a968104d1645e2f8f6b73cba3fd7 100644
(file)
--- 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;
}