Skip to contentSkip to conversation

fs/jffs2/xattr.c: remove dead code

PATCH New Adrian Bunk 1 participant 1 message Aug 15, 2006 Journalling flash file system V2 (JFFS2)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/jffs2/xattr.c: remove dead code

This patch removes some obvious dead code spotted by the Coverity checker.

fs/jffs2/xattr.c renamed from fs/jffs2/xattr.c.old +0 -1
@@ -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);