fs/jffs2/xattr.c: remove dead code
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed Aug 16 10:59:01 EDT 2006
Commit: 0b6c0bb3f9621b128011bcd5f65047c73afdde3b
Parent: 79b9cd586f534f3f40ee66b6c27732149a5915ad
commit 0b6c0bb3f9621b128011bcd5f65047c73afdde3b
Author: Adrian Bunk <bunk at stusta.de>
AuthorDate: Tue Aug 15 02:42:25 2006 +0200
Commit: Josh Boyer <jwboyer at gmail.com>
CommitDate: Tue Aug 15 19:10:19 2006 -0500
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 at stusta.de>
Signed-off-by: Josh Boyer <jwboyer at gmail.com>
---
fs/jffs2/xattr.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/jffs2/xattr.c b/fs/jffs2/xattr.c
index 25bc1ae..4da09ce 100644
--- a/fs/jffs2/xattr.c
+++ b/fs/jffs2/xattr.c
@@ -1215,7 +1215,6 @@ int jffs2_garbage_collect_xattr_datum(st
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);
More information about the linux-mtd-cvs
mailing list