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:
60c70d6
)
jffs2: remove an unneeded condition
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 23 Mar 2015 09:35:19 +0000
(12:35 +0300)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 31 Mar 2015 00:39:16 +0000
(17:39 -0700)
We know "rc" is set so there is no need to check again.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
fs/jffs2/xattr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jffs2/xattr.c
b/fs/jffs2/xattr.c
index d72817ac51f646e50ea2e6e867a5252b540eb428..d279fb49fe9cee801780b07de3844736576e3042 100644
(file)
--- a/
fs/jffs2/xattr.c
+++ b/
fs/jffs2/xattr.c
@@
-1266,7
+1266,6
@@
int jffs2_garbage_collect_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_
if (rc) {
JFFS2_WARNING("%s: jffs2_reserve_space_gc() = %d, request = %u\n",
__func__, rc, totlen);
- rc = rc ? rc : -EBADFD;
goto out;
}
rc = save_xattr_ref(c, ref);