projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b9cd5
)
fs/jffs2/xattr.c: remove dead code
author
Adrian Bunk
<bunk@stusta.de>
Tue, 15 Aug 2006 00:42:25 +0000
(
02:42
+0200)
committer
Josh Boyer
<jwboyer@gmail.com>
Wed, 16 Aug 2006 00:10:19 +0000
(19:10 -0500)
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>
fs/jffs2/xattr.c
patch
|
blob
|
history
diff --git
a/fs/jffs2/xattr.c
b/fs/jffs2/xattr.c
index
25bc1ae
..
4da09ce
100644
(file)
--- a/
fs/jffs2/xattr.c
+++ b/
fs/jffs2/xattr.c
@@
-1215,7
+1215,6
@@
int jffs2_garbage_collect_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xatt
rc = jffs2_reserve_space_gc(c, totlen, &length, JFFS2_SUMMARY_XATTR_SIZE);
if (rc) {
JFFS2_WARNING("jffs2_reserve_space_gc()=%d, request=%u\n", rc, totlen);
- rc = rc ? rc : -EBADFD;
goto out;
}
rc = save_xattr_datum(c, xd);