Commit d800fcab authored by Dan Carpenter's avatar Dan Carpenter Committed by Brian Norris

jffs2: remove an unneeded condition

We know "rc" is set so there is no need to check again.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 60c70d66
...@@ -1266,7 +1266,6 @@ int jffs2_garbage_collect_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ ...@@ -1266,7 +1266,6 @@ int jffs2_garbage_collect_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_
if (rc) { if (rc) {
JFFS2_WARNING("%s: jffs2_reserve_space_gc() = %d, request = %u\n", JFFS2_WARNING("%s: jffs2_reserve_space_gc() = %d, request = %u\n",
__func__, rc, totlen); __func__, rc, totlen);
rc = rc ? rc : -EBADFD;
goto out; goto out;
} }
rc = save_xattr_ref(c, ref); rc = save_xattr_ref(c, ref);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment