Commit 0b6c0bb3f9621b128011bcd5f65047c73afdde3b
Committed by
Josh Boyer
1 parent
79b9cd586f
Exists in
master
and in
7 other branches
fs/jffs2/xattr.c: remove dead code
This patch removes some obvious dead code spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff
fs/jffs2/xattr.c
... | ... | @@ -1215,7 +1215,6 @@ |
1215 | 1215 | rc = jffs2_reserve_space_gc(c, totlen, &length, JFFS2_SUMMARY_XATTR_SIZE); |
1216 | 1216 | if (rc) { |
1217 | 1217 | JFFS2_WARNING("jffs2_reserve_space_gc()=%d, request=%u\n", rc, totlen); |
1218 | - rc = rc ? rc : -EBADFD; | |
1219 | 1218 | goto out; |
1220 | 1219 | } |
1221 | 1220 | rc = save_xattr_datum(c, xd); |